Using NetBeans on Linux, writing a program of ~ 6,000 lines in length, and seems to have reached a certain threshold. Compilation time increased from one minute to more than 25.
This is clearly a memory problem, the IDE is 300 megabytes, not one byte, despite the obvious need. I added -J-Xmx600mto the file netbeans.confand changed the command xmsto 132m, but although the log file says:
Compiler: HotSpot Client Compiler
Heap memory usage: initial 132.0MB maximum 580.0MB
Non heap memory usage: initial 160.0kB maximum -1b
Garbage collector: Copy (Collections=23 Total time spent=1s)
Garbage collector: MarkSweepCompact (Collections=3 Total time spent=0s)
This is clearly not working.
Is there any configuration parameter in the IDE itself that I need to deal with?
source
share