Try to turn off optimization and compile detailed js code. Maybe some
problems there?

2010/1/25 Pieter Breed <[email protected]>

> > C:\Program Files\Java\jdk1.6.0_18\jre\bin\java -Xmx16000m -classpath
> "..." com.google.gwt.dev.Compiler -gen
> "K:\iCompanyName\appName\target\.generated" -logLevel INFO -style OBFUSCATED
> -war "K:\iCompanyName\appName\target\appName" -localWorkers 1
> -XdisableClassMetadata -XdisableCastChecking com.companyName.appName.appName
>
> as you can see, the maven plugin calls the gwtc through the java
> command line and sets up the classpath etc... and that is the step
> that fails by running out of memory.
>
> unless the gwtc has an internal loop, I can't think of where to find
> one...
>
> Pieter
>
> On Jan 25, 12:56 pm, Alexander <[email protected]> wrote:
> > Wow! 15Gb and still not enough? Really looks like something wrong in your
> > project. Maybe compilation process looped somewhere?
> >
> > 2010/1/25 Pieter Breed <[email protected]>
> >
> >
> >
> >
> >
> > > Hi Frincisca,
> >
> > > Yes, actually... My machine is currently trying to build the app with
> > > an allocated 15Gigabytes of allocatable ram. Not many desktop machines
> > > have so much, so I'm stuttering along on virtual memory which makes it
> > > slow. (It's been busy for 2 hours already)
> >
> > > But it does feel strange to me that gwtc would need so much ram, which
> > > is why I'm asking if we can work with the compiler in this case to
> > > keep these requirements down. The other option is that we are doing
> > > something wrong (which is slightly more likely). Maybe somebody can
> > > help us sort it out?
> >
> > > Pieter
> >
> > > On Jan 25, 11:59 am, Francisco Bischoff <[email protected]>
> > > wrote:
> > > > Hi,
> >
> > > > I'm not the very experient here, but have you tried to follow the
> > > compiler
> > > > error?
> >
> > > > [ERROR] Out of memory; to increase the amount of memory, use the -Xmx
> > > flag
> > > > at startup (java -Xmx128M ...)
> >
> > > > Maybe you just need to reserve more memory for the java compiler.
> >
> > > > --
> > > > Francisco Bischoffhttp://www.cirurgiaplastica.pro.br
> >
> > > > "O mate está para o gaúcho como o chá para os ingleses, a coca para
> os
> > > > bolivianos, o uísque para os escoceses e o café... para os
> brasileiros"
> > > > -- Eduardo Bueno
> >
> > > > On Mon, Jan 25, 2010 at 9:47 AM, Pieter Breed <
> [email protected]
> > > >wrote:
> >
> > > > > [ERROR] Out of memory; to increase the amount of memory, use
> > > > > the -Xmx flag at startup (java -Xmx128M ...)
> >
> > > --
> > > You received this message because you are subscribed to the Google
> Groups
> > > "Google Web Toolkit" group.
> > > To post to this group, send email to
> [email protected].
> > > To unsubscribe from this group, send email to
> > > [email protected]<google-web-toolkit%[email protected]><google-web-toolkit%2Bunsubs
> [email protected]>
> > > .
> > > For more options, visit this group at
> > >http://groups.google.com/group/google-web-toolkit?hl=en.
> >
> > --
> > Regards,
> > Alexander
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-web-toolkit%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>


-- 
Regards,
Alexander

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to