-
Notifications
You must be signed in to change notification settings - Fork 45
[gwt 2.7.0/gradle 2.12./plug-in 0.6] gwtSuperDev - java.lang.OutOfMemoryError #100
Comments
Try giving it more heap memory. The error basically says all memory is gone and Garbage collection can not free anything. |
Thanks. I will try your advice and see what happens. My concerns is that I am creating some infinite loop there, which is not present in the other case |
Ok ... increasing the heap memory does not help - getSuperDev still crashes after taking a little more time. Running with |
Attached is a slimmed-down example that crashes with OutOfMemory every time |
Wow. That is a tiny project to OOM. Is this still happening, or is it possible that this was a bug in a SNAPSHOT release? |
One odd thing I noticed is both of your gwt.xml use the same rename-to. Not sure if that is part of the cause, but worth looking into. |
James, /Hristo Stoyanov On Aug 28, 2016 11:54 PM, "James Nelson" [email protected] wrote:
|
Thx for heads up. |
Hi all,
I am trying to set-up a project structure like:
The root build.gradle has:
The idea is to inject in the 2 gwt children projects (web-app and web-shared) the common gwt configuration stuff, rather than duplicating it in each. web-app, therefore has only this in its build.gradle:
This seem to work with normal compilation, e.g.:
gradlew --offline -g c:/temp/gradle -p web-app clean war
but superdev fails:
gradlew --offline -g c:/temp/gradle --no-daemon -p web-app gwtSuperDev
Any idea why gwtSuperDev fails like that? Note: If I copy and duplicate the entire gwt{...} from the root project, and copy-and-paste it into the 2 children gwt projects, everything starts to work.
The text was updated successfully, but these errors were encountered: