Posted by: Chyne on: February 20, 2009
I encountered the following build errors when I compiled the source codes in the NetBeans:-
The system is out of resources.
Consult the following stack trace for details.
java.lang.OutOfMemoryError: Java heap space
…
…
more
…
…
BUILD FAILED (total time: 1 minute 50 seconds)
1. Access the etc/netbeans.conf in <NetBeans installation path>
2. Default settings:-
netbeans_default_options=”-J-client -J-Xss2m -J-Xms32m -J-XX:PermSize=32m -J-XX:MaxPermSize=200m -J-Xverify:none -J-Dapple.laf.useScreenMenuBar=true”
3. Change to:-
netbeans_default_options=”-J-client -J-Xss2m -J-Xms96m [...]