[gwt-contrib] Re: Internal compiler error with GWT 2.1.0 RC1 when using generics

2010-11-12 Thread yves
@Jeff As you suggested me, I tried the followig without success (same OOME problem): public class ResultNodeT extends IResultNode implements IResultNode and public interface IResultNode extends Result Again this is syntaxically correct and compiles sucessfully with javac, BUT gives again the

Re: [gwt-contrib] Re: Internal compiler error with GWT 2.1.0 RC1 when using generics

2010-11-12 Thread Miguel Méndez
On Fri, Nov 12, 2010 at 5:34 AM, yves yves.ko...@gmail.com wrote: @Jeff As you suggested me, I tried the followig without success (same OOME problem): public class ResultNodeT extends IResultNode implements IResultNode and public interface IResultNode extends Result Again this is

Re: [gwt-contrib] Re: Internal compiler error with GWT 2.1.0 RC1 when using generics

2010-11-12 Thread Miguel Méndez
[+zhuyi] On Fri, Nov 12, 2010 at 9:52 AM, Miguel Méndez mmen...@google.com wrote: On Fri, Nov 12, 2010 at 5:34 AM, yves yves.ko...@gmail.com wrote: @Jeff As you suggested me, I tried the followig without success (same OOME problem): public class ResultNodeT extends IResultNode implements

[gwt-contrib] Re: Internal compiler error with GWT 2.1.0 RC1 when using generics

2010-11-12 Thread yves
@All I replaced the array T[] by a ListT and I still get the same OOME. Summary : 1) when you break the self-referenced generics ResultNodeT extends ResultNode? by public class ResultNodeT extends IResultNode implements IResultNode and public interface IResultNode extends Result = this still

[gwt-contrib] Re: Internal compiler error with GWT 2.1.0 RC1 when using generics

2010-11-12 Thread yves
I've found a similar old problem : look at http://code.google.com/p/google-web-toolkit/issues/detail?id=2279 Yves On 12 nov, 19:52, yves yves.ko...@gmail.com wrote: @All I replaced the array T[] by a ListT and I still get the same OOME. Summary : 1) when you break the self-referenced

[gwt-contrib] Re: Internal compiler error with GWT 2.1.0 RC1 when using generics

2010-11-11 Thread yves
Hi All, @Scott The WARN does not change anything to the result. And to reduce the memory usage I already closed everything (Eclipse, MySQL service, Tomcat, ...) and ran the compilation as a command line. Naively I made a deep cleanup of my hard drive (defrag, optimization) in order to allow a

[gwt-contrib] Re: Internal compiler error with GWT 2.1.0 RC1 when using generics

2010-11-11 Thread yves
Chris, JConsole does not succeed to connect to the java compilation : I get an out of memory error in sun.rmi.transport.tcp.TCPTransport $AcceptLoop.executeAcceptLoop while trying to start a new thread. = Result: no data in jconsole The compiler is the one shipped with GWT 2.1.0RC1 I'll send

Re: [gwt-contrib] Re: Internal compiler error with GWT 2.1.0 RC1 when using generics

2010-11-11 Thread Miguel Méndez
@yves: What does the ResultNode class look like? It is class ResultNodeT extends ResultNode? but what about its supertype and fields? On Thu, Nov 11, 2010 at 10:50 AM, yves yves.ko...@gmail.com wrote: Chris, JConsole does not succeed to connect to the java compilation : I get an out of

[gwt-contrib] Re: Internal compiler error with GWT 2.1.0 RC1 when using generics

2010-11-11 Thread yves
Miguel, Here is the ResultNode class public class ResultNodeT extends ResultNode? implements Result { private static final long serialVersionUID = -3560238969723137110L; public int dataType; public int id1; public int id2; public int id3; public

Re: [gwt-contrib] Re: Internal compiler error with GWT 2.1.0 RC1 when using generics

2010-11-11 Thread Miguel Méndez
Thanks. I was able to reproduce the problem and filed issue 5582http://code.google.com/p/google-web-toolkit/issues/detail?id=5582 . @zhuyi: can you take a look at this bug? On Thu, Nov 11, 2010 at 11:58 AM, yves yves.ko...@gmail.com wrote: Miguel, Here is the ResultNode class public class

Re: [gwt-contrib] Re: Internal compiler error with GWT 2.1.0 RC1 when using generics

2010-11-10 Thread Scott Blum
Hmmm what happens if you turn down the log level, say to WARN? Are you invoking from the command line, or are you using the Google Plugin for Eclipse? On Wed, Nov 10, 2010 at 4:16 PM, yves yves.ko...@gmail.com wrote: Scott, Thx for the tip. Anyway I can't allocate more than -Xmx1590M and

Re: [gwt-contrib] Re: Internal compiler error with GWT 2.1.0 RC1 when using generics

2010-11-10 Thread Chris Conroy
Yves, You say this error did not occur before your most recent change. It would be useful to get an idea for the memory usage before this change: it could be that your app is just very large and you were already on the edge of an OOME, your change really necessitates more memory, or this is a

Re: [gwt-contrib] Re: Internal compiler error with GWT 2.1.0 RC1 when using generics

2010-11-10 Thread Chris Conroy
Actually, to get a more accurate picture than just looking at JConsole graphs, you could add -verbose:gc to the jvm flags and report back with the before and after logs that produces. On Wed, Nov 10, 2010 at 2:26 PM, Chris Conroy con...@google.com wrote: Yves, You say this error did not occur

[gwt-contrib] Re: Internal compiler error with GWT 2.1.0 RC1 when using generics

2010-11-10 Thread Jeff Larsen
If I was a guessing man, I'd say you're gettting into an infinite loop with generics here and the SerializableTypeOracleBuilder. ResultNodeT extends ResultNode? The ? is probably what is causing this to break. I'm the serializer, I'm making a serialization policy for ResultNodeT extends

[gwt-contrib] Re: Internal compiler error with GWT 2.1.0 RC1 when using generics

2010-11-08 Thread yves
I can't, I only have 2GB RAM, I get this error as from -Xmx1024M [java] Error occurred during initialization of VM [java] Could not reserve enough space for object heap [java] Could not create the Java virtual machine. and the log level is INFO Yves On 8 nov, 22:53, Scott Blum

Re: [gwt-contrib] Re: Internal compiler error with GWT 2.1.0 RC1 when using generics

2010-11-08 Thread Scott Blum
Hmm can you increase your virtual memory? On Mon, Nov 8, 2010 at 5:13 PM, yves yves.ko...@gmail.com wrote: I can't, I only have 2GB RAM, I get this error as from -Xmx1024M [java] Error occurred during initialization of VM [java] Could not reserve enough space for object heap