Re: [ERROR] OutOfMemoryError: Increase heap size or lower gwt.jjs.maxThreads

2024-10-02 Thread Jens
Still I'm quite interested why we've never run in similar compilation issues despite having quite a larger set of frontend code as stated in this thread. Can someone explain? Because you have way less code split points. A lot of code split points will significantly increase compilation time

Re: [ERROR] OutOfMemoryError: Increase heap size or lower gwt.jjs.maxThreads

2024-10-02 Thread Craig Mitchell
Oh, they are asking how to use a CDN (Content Delivery Network). Please ignore my previous reply. That's easy, when doing a "mvn clean package" to build the war (or jar), all the static files will in the server module in *target/[proj-name]*. Just copy them to your CDN. On Wednesday 2 Octobe

Re: [ERROR] OutOfMemoryError: Increase heap size or lower gwt.jjs.maxThreads

2024-10-01 Thread Leon Pennings
I've seen the request to host static webcontent (i.e. html/css/js) on a separate server many times before. Especially with dedicated infrastructure teams. The trick is to have mvn build a separate jar with only the static content and unzip that on the target webserver. It's been a while since I

Re: [ERROR] OutOfMemoryError: Increase heap size or lower gwt.jjs.maxThreads

2024-09-30 Thread 'Frank Hossfeld' via GWT Users
Besides that the plugin does not provide this functionality - as Greg already mentioned - you will run into security issues, while hosting the client on one server and the server part on another (CORS). (OK, you might find a workaround with some fanzy server configuration, but it's risky) If yo

Re: [ERROR] OutOfMemoryError: Increase heap size or lower gwt.jjs.maxThreads

2024-09-30 Thread Craig Mitchell
Running multiple servers with different functionality, is outside the scope of the Spring Boot + GWT archetype. Spring Boot + GWT archetype gives you one server codeline, Ie: One WAR or JAR. You can can replicate and load balance it nicely (I do this with this architecture in the Google Cloud)

Re: [ERROR] OutOfMemoryError: Increase heap size or lower gwt.jjs.maxThreads

2024-09-30 Thread viny...@gmail.com
Hi FRANK, We have gone through the link provided by you "Spring Boot + GWT archetype: https://github.com/NaluKit/gwt-maven-springboot-archetype"; We want to host client on different server-machine and server will be hosted on another server-machine. We cannot find how will we achive the same w

Re: [ERROR] OutOfMemoryError: Increase heap size or lower gwt.jjs.maxThreads

2024-09-30 Thread viny...@gmail.com
Thank you JENS & FRANK for your valuable input. Your suggestions will surly help us in upgrading the version. On Friday, September 27, 2024 at 1:55:26 PM UTC+5:30 Frank Hossfeld wrote: > Regarding point 7: > In addition to what Jens said, here you'll find an artifact creator for a > S

Re: [ERROR] OutOfMemoryError: Increase heap size or lower gwt.jjs.maxThreads

2024-09-27 Thread 'Frank Hossfeld' via GWT Users
Regarding point 7: In addition to what Jens said, here you'll find an artifact creator for a Spring Boot + GWT archetype: https://github.com/NaluKit/gwt-maven-springboot-archetype Also, I would like to add: to prepare the project, running 'mvn clean compile' is all you need to do to prepare th

Re: [ERROR] OutOfMemoryError: Increase heap size or lower gwt.jjs.maxThreads

2024-09-26 Thread Jens
Now! our WAR is compiling (single permutation) in 10.25 mins only. We are testing our application workflow as many of the differedJS files are greater than 1 mb. We'll try to reduce the size. Sounds way better and you can likely decrease the required Java heap now as well. You had A LOT of

Re: [ERROR] OutOfMemoryError: Increase heap size or lower gwt.jjs.maxThreads

2024-09-26 Thread viny...@gmail.com
Earlier when WAR was compiling it was taking max 50 minutes for full >>> comilation (single permutation) on hardware of (64 GB RAM, 4 Core, Xeon (R) >>> CPU E3-1225 v5 @3.30 GHz, window-server 2019 standard) >>> >>> 5. using JVM option -Xmx61

Re: [ERROR] OutOfMemoryError: Increase heap size or lower gwt.jjs.maxThreads

2024-09-25 Thread Colin Alworth
rdware of (64 GB RAM, 4 Core, Xeon (R) >> CPU E3-1225 v5 @3.30 GHz, window-server 2019 standard) >> >> 5. using JVM option -Xmx61440M (gwt-conpilation config attached for ref.) >> >> 6. Currently we are getting following error: >> Compile with -strict o

Re: [ERROR] OutOfMemoryError: Increase heap size or lower gwt.jjs.maxThreads

2024-09-25 Thread Jens
t; Compile with -strict or with -logLevel set to TRACE or DEBUG to see all > errors. > Compiling 1 permutation > Compiling permutation 0... > [ERROR] OutOfMemoryError: Increase heap size or lower > gwt.jjs.maxThreads > java.lang.OutOfMemoryError: Java heap space &

[ERROR] OutOfMemoryError: Increase heap size or lower gwt.jjs.maxThreads

2024-09-24 Thread viny...@gmail.com
ee all errors. Compiling 1 permutation Compiling permutation 0... [ERROR] OutOfMemoryError: Increase heap size or lower gwt.jjs.maxThreads java.lang.OutOfMemoryError: Java heap space at sun.nio.cs.StreamEncoder.write(StreamEncoder.java:133) at java.io.OutputStreamWriter.write(O