cant disable GCOverheadLimit in netbeans!
I'm working with a large informatics program and keep getting this error:
Exception in thread "main" java.lang.OutOfMemoryError: GC overhead limit exceeded
Searching online it is a performance drop warning, and supposedly can be disabled. I'm starting netbeans with the command
brian@ubuntu:~$ /usr/bin/netbeans -J-Xmx2g -XX:-UseGCOverheadLimit
But I get the error:
Unknown option -XX:-UseGCOverheadLimit
I just need my program to run despite the slowdown so I can get my data. Any ideas how to disable GCOverheadLimit in netbeans?
Thanks for your help