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 .

2 Responses

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

  1. I do not believe I have seen this depicted in such a way before. You really have clarified this for me. Thank you!

  2. Abhitabh Jamankar said

    I was trying this from last few ages.
    You help me to pull out from black well.
    Great Work
    Thanks!

Some HTML is OK

(required)

(required, but never shared)

or, reply to this post via trackback.


echo " ";