Netbeans8.1 + JDK 1.8
Etc/netbeans.conf
Netbeans_default_options= "-J-CLIENT-J-XSS1M-J-XMS1024M-J-XMX2560M-J-XX:+USEPARALLELGC- J-djava.net.preferipv4stack=true-j-dapple.laf.usescreenmenubar=true-j-dapple.awt.graphics.usequartz=true- J-dsun.java2d.noddraw=true-j-dsun.zip.disablememorymapping=true "
-j-xss1m
The smaller the value, the more threads the JVM splits at work. For a good multi-core multithreaded CPU, using more threads to handle tasks should be the best choice.
-j-xms1024m
The minimum non-heap size that the JVM occupies.
-j-xmx2560m
The size of the heap that the JVM allocates to the program to run, which is the amount of memory the Java program can use.
-j-xx:+useparallelgc
It is said that with this GC mechanism, the GC time on a single-core CPU machine is reduced by half.
-j-djava.net.preferipv4stack=true
Reduce the time that NetBeans spends on network initialization during startup. Explicitly tell NetBeans which IP address method to use.
-j-dsun.java2d.noddraw=true
Used to prohibit D3D. There are some problems when rendering NetBeans's UI using D3D.
Netbeans 8.1 Startup parameter configuration