I have a project that has approximately 2000 files (not including library files) that I want to build.
In netbeans 6.9, I was getting "out of memory" error even when I increased the heap to 1 GB. But I got by it by building few packages at a time.
But in netbeans 7.2, I am not able to do this. Even for packages containing 30 files, I sometime get the "out of memory" error.
So, what is the maximum number of files that can be build simultaneously?
How do I get over this problem?
The heap size is 1GB.
UPDATE:
My machine is running Windows 7, 32 bit on a 64-bit machine. Currently, I can't reinstall a 64-bit windows 7. Other configurations, 4 GB RAM. Intel Core 2 quad CPU 2.66Hz.
netbeans conf.:
netbeans_default_options="-J-client -J-Xss2m -J-Xms384m -J-Xmx1024M -J-XX:PermSize=32m -J-Dapple.laf.useScreenMenuBar=true -J-Dapple.awt.graphics.UseQuartz=true -J-Dsun.java2d.noddraw=true -J-Dsun.zip.disableMemoryMapping=true"