Thursday, March 14, 2019

Re: GWT Compilation Out Of Memory

1. is there any relation between split points & *.cache.html files.
2. what should be the supposed ideal time of compilation for my application. as I have mentioned the size of war generated after compilation & keeping the system configuration in mind.

folders & files size generated in war files are as follows:
  1. deferredjs folder contains 5 folders (441mb of js files cumulative)  
  2. *.gwt.rpc 647 files (308mb cumulative)
  3. *.cache.html 5 files (27.9mb cumulative)
  4. *.nocache.js is 8kb
  5. and other folders


On Thursday, March 14, 2019 at 3:33:18 PM UTC+5:30, Vineet Jaiswal wrote:

GWT version: 2.6.1
Browser (with version): any
Operating System: Windows



My Application is producing 1.6GB of war file and taking 7 to 8 hrs. for complete build of 5 permutation.
configuration of machine on which we are compiling is:
OS: windows server 2012 R2
RAM: 64GB
Processor: Intel R ZEON R CPU E3-1225 V5
Core : 4


we have defined gwt compile parameters as follows:
GWT Compiler JVM Arguments: -Xmx61440M
GWT Dev Mode JVM Arguments: -Xmx61440M
GWT Test JVM Arguments: -Xmx61440M



we are facing two major problems:

  1. from last few days we are receiving out of memory error during compilation.
  2. it is taking very huge time to build.

we wish our project could break into smaller sections (modules compiled individually separately) and bundled in a single war at the time of release. like we use multiple dlls and use it in single exe. and in case of changes in any dll we need not to build whole exe again instead we only compile a dll and deploy it to client.


any suggestion \ help will be highly appreciated.


thank you!

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment