Re: URGENT: GWT build crash with out of memory

2022-04-07 Thread Craig Mitchell
That's the only reason I use split points, to speed up load times. I split the admin pages, from the public pages, so the public don't need to d/l all the admin JS. On Sunday, 3 April 2022 at 3:32:01 am UTC+10 leon.p...@gmail.com wrote: > tbh, I've never worked with split points before. >

Re: URGENT: GWT build crash with out of memory

2022-04-02 Thread Leon Pennings
tbh, I've never worked with split points before. What would be the actual problem be if splitpoints are not used - besides from the initial load times? Op vrijdag 1 april 2022 om 17:46:40 UTC+2 schreef nilo...@gmail.com: > Split points are amazingly expensive to compute (in both CPU and

Re: URGENT: GWT build crash with out of memory

2022-04-01 Thread Colin Alworth
Split points are amazingly expensive to compute (in both CPU and memory) - I would definitely remove all split points currently under 10KB, and strongly consider removing all under 100KB, at least for an application of that size. Odds are excellent that your 4043KB file is your "leftovers"

Re: URGENT: GWT build crash with out of memory

2022-03-04 Thread viny...@gmail.com
First of all we are very-very thankful to VIE, FRANK & JENS for their valuable suggestions and are sorry for late reply. As we were busy in applying the solutions suggested by you people. *AS THE RESULT:-* 1. As we have already using "*gwt.compiler.jvmargs=-Xmx61440m*" so we could not get what

Re: URGENT: GWT build crash with out of memory

2022-03-02 Thread Jens
As already said the first thing you should do is to use -strict. This makes sure GWT compiler does not ignore compile errors. Given you have 12 compile errors, you want to fix them first. Next it looks like you have a lot of split points if you have 856 *.cache.js files. Given that 817 of

Re: URGENT: GWT build crash with out of memory

2022-03-02 Thread 'Frank Hossfeld' via GWT Users
First, you should fix this: *ompiling module project2.**Project2* * Validating units: Ignored 12 units with compilation errors in first pass.Compile with -strict or with -logLevel set to TRACE or DEBUG to see all errors.* *set the logLevel to TRACE and check the error message. That

Re: URGENT: GWT build crash with out of memory

2022-03-02 Thread vie...@gmail.com
Hi there, you can check, if there are the correct values with jconsole or visualvm. Please check the java call you are using to build the project. Maybe you can add there a general -Xmx4000M (or something). Best regards viny...@gmail.com schrieb am Dienstag, 1. März 2022 um 16:27:41 UTC+1: >

URGENT: GWT build crash with out of memory

2022-03-01 Thread viny...@gmail.com
Hi, We are having a quite big project, every thing was going in control but from last few days our GWT project is crashing while building WAR (with error out of memory). "*Compiling module project2.**Project2* * Validating units: Ignored 12 units with compilation errors in first