Skip to content


echo " ";

How to fix GWT-ext: java.lang.OutOfMemoryError: Java heap space

If you try to run application with gwt-ext on Netbeans, you can face memory problem: GWT-ext: java.lang.OutOfMemoryError: Java heap space
We need to increase java heap for the project.
Simple to fix it:
in %project_home/nbproject/build-gwt.xml after this line:

<arg value="${gwt.module}"/>

just put following (you can put more, then 512mb):

<jvmarg value="-Xmx512m"/>

Enjoy!

Posted in Uncategorized. Tagged with .

0 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.