add maxmemory="256m" to the line that through the exception for heap
space problem.
You can also add -Xmx256m to the other lines in the build script that
have -X options. You will need to do this every time you restart
netbeans. This is a netbeans issue where they don't provide a property
file or parameter setting to increase memory.
The netbeans integration does work very well. I even do incremental
updates of code changes that I am debugging which really helps speed
up development because I don't need to restart or reload debug mode.
Thanks
Scooter Willis