Re: Problems with build process, please help

2010-01-27 Thread Ignat Alexeyenko
We've launching GWT compiler with options: -Xms512m -Xmx768m -- Kind regards, Ignat Alexeyenko. On Tue, Jan 26, 2010 at 2:35 PM, Francisco Bischoff franzbisch...@gmail.com wrote: The code you are trying to compile is the original from GWT 1.7 project or have you made some changes? What about

Re: Problems with build process, please help

2010-01-27 Thread JacoGr
Some specifics for the app Pieter is speaking about: 1. Under GWT 1.7.1, the application doesn't compile with anything under -Xmx2160m -Xms2048m 2. There are around 1900 files used by the GWT-RPC as DTOs 3. On a normal machine, the 1.7.1 compile takes around 15-20 mins (Single language, all

Re: Problems with build process, please help

2010-01-27 Thread JacoGr
On Jan 27, 7:44 pm, JacoGr jac...@gmail.com wrote: 1. Under GWT 1.7.1, the application doesn't compile with anything under -Xmx2160m -Xms2048m Sorry, that should have been -Xms2048k Jaco -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group.

Re: Problems with build process, please help

2010-01-26 Thread Francisco Bischoff
The code you are trying to compile is the original from GWT 1.7 project or have you made some changes? What about the 3rd party modules, do you use some of that? Maybe there is some code messing up with the compiler... And the Development Mode, can you try the application using it? Try to

Re: Problems with build process, please help

2010-01-26 Thread Pieter Breed
This is the original v1.7 code with only the GWT 2 change applied, ie no other code changes have been applied yet. We are able to run the app in dev mode without any issues. We use a few 3rd party modules, yes. The primary client-side dependency is the GXT module. On the server we have a few

Re: Problems with build process, please help

2010-01-26 Thread Pieter Breed
Sorry, I just read what I worte and realised I made a mistake. We don't have that many .properties files, but we do have a large ( 1000) files that describe each field in the DTO with a constant string value. Ex: public class AdminUserListDefProperties implements Serializable, BeanModelTag {

Re: Problems with build process, please help

2010-01-26 Thread Francisco Bischoff
It should sound weird, but... have you tried to compile with less memory at -Xmx parameter? Try the default -Xmx128m, and others like -Xmx512m, -Xmx1024m or -Xmx8192m This came from here It's more that the JVM allocates multiple regions of memory. When you increase -Xmx, this can cause some of

Problems with build process, please help

2010-01-25 Thread Pieter Breed
Hi All, The company I work for has a large enterprise application built on GWT. We've most recently been using v1.7.1 and we had a pretty stable development platform. Some of our customers are complaining about slowness in our application. Specifically it takes about 40-60 seconds to load the

Re: Problems with build process, please help

2010-01-25 Thread Francisco Bischoff
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 Bischoff

Re: Problems with build process, please help

2010-01-25 Thread Pieter Breed
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

Re: Problems with build process, please help

2010-01-25 Thread Alexander
Wow! 15Gb and still not enough? Really looks like something wrong in your project. Maybe compilation process looped somewhere? 2010/1/25 Pieter Breed pieter.br...@gmail.com Hi Frincisca, Yes, actually... My machine is currently trying to build the app with an allocated 15Gigabytes of

Re: Problems with build process, please help

2010-01-25 Thread Pieter Breed
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

Re: Problems with build process, please help

2010-01-25 Thread Alexander
Try to turn off optimization and compile detailed js code. Maybe some problems there? 2010/1/25 Pieter Breed pieter.br...@gmail.com 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