NetBeans error 8: Java heap error when starting the IDE

Every time I start my NetBeans 8.0.1 I get an unexpected exception: Java heap space.

I am not running any programs in NetBeans, it happens when "Background Scan for Projects" is running (I have multiple node and angular projects).

I have increased the JVM heap size in the netbeans config as stated here:
http://wiki.netbeans.org/FaqSettingHeapSize

... changed the GC as mentioned here:
http://wiki.netbeans.org/FaqGCPauses

... and added some of the other options suggested on this site, eg. here:
stackoverflow question/2175615 / ...

These are my options in the config file:

netbeans_default_options="-J-client -J-Xss2m -J-Xms256m -J-Xmx512m -J-XX:PermSize=256m  -J-Dapple.laf.useScreenMenuBar=true -J-Dapple.awt.graphics.UseQuartz=true -J-Dsun.java2d.noddraw=true -J-Dsun.zip.disableMemoryMapping=true -J-XX:+UseConcMarkSweepGC -J-XX:+CMSClassUnloadingEnabled -J-XX:+CMSPermGenSweepingEnabled -J-Xverify:none"

      

Increasing Xmx and Permsize to 2048/1024 or uninstalling them so that Netbeans will install it automatically doesn't help either.

Also, setting the VM-Options of the project itself as statet here:
Java Explicit Space in netbeans .. but I've already increased the heap size!
... doesn't help because this option doesn't exist in my projects.

What else can I try?

+3
java netbeans netbeans-8


source to share


No one has answered this question yet

See similar questions:

28
How to increase java heap size in netbeans?
15
Java is a bunch of space in netbeans .. but I've already increased the heap size!

or similar:

6170
Is Java "pass-by-reference" or "pass-by-value"?
3799
How do I read / convert an InputStream to a string in Java?
3324
How to generate random integers in a specific range in Java?
3073
How to efficiently loop over each entry in a Java map?
3044
Making a memory leak with Java
2936
When to use LinkedList over ArrayList in Java?
2853
How can I convert String to int in Java?
3
How do I change the encoding of NetBeans?
1
NetBeans IDE 8.0.1 gives Override error with error 62 Check the JVMTI documentation for this error code
0
Why is Netbeans 8 IDE very slow when font size increases?



All Articles
Loading...
X
Show
Funny
Dev
Pics