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!

  • http://www.getyourpurse.com/Handbags-and-Bags/Coach Coach Leather Purses

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

  • Abhitabh Jamankar

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