Netbeans 8.1 Startup parameter configuration

Source: Internet
Author: User
Tags netbeans

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.