IntelliJ Idea Memory Settings modification

Source: Internet
Author: User
IntelliJ idea Memory SettingsModify IntelliJ idea 7.0\bin under Idea.exe.vmoptions
-server
-xverify:none
-xms300m
-xmx512m
-xx:+useparnewgc
-xx:permsize=128m
-ea

-server uses the server JVM. Use it as appropriate, some doc says idea plus this option can improve speed.
-xverify:none turns off Java bytecode validation, which speeds up class loading and eliminates the need to load classes for validation purposes and shortens startup time.
-XMS: is another set of memory parameters, use it to set the size of the memory stack when the program is initialized, adding this value will improve the startup performance of your program. But there are also the previous restrictions, as well as the xmx restrictions.
-XMX: is an option in Java to set the maximum amount of memory your application can use (watch out for your application, not the entire JVM), and if your program takes a lot of memory, you need to modify the default settings, such as configuring Tomcat, If the flow of AH program AH is very large need to increase this value, but there is a point to remember, do not larger than your machine memory, so your machine will not be able to stand, then the dead.
-xx:permsize the size of the permanent zone.
-XX:+USEPARNEWGC uses a parallel collection algorithm.

Large memory can be changed idea.exe.vmoptions file is:


-xms256m
-xmx384m
-xx:maxpermsize=128m
-xx:newratio=4
-xss128k
-dsun.awt.keepworkingsetonminimize=true
-server

And idea.properties can modify some of the configuration, such as buffer settings to the other disk outside the C disk
In addition to the memory allocations for idea startup, there are:
1, your C disk is free enough, because idea will be in C disk your user directory to create a cache. If your C disk space is small, the operation will be more tired.
2, your project is bloated. Because the default idea is to have all the files as project files, the basics we need to edit in idea are program files. class files, jar files, doc files, and so on are not needed. Open the module setting interface, switch to the source option to not belong to the program files are exclude off, greatly reduce the load of idea.
Original: http://hi.baidu.com/geeree/item/fa5ddc518cb87412abf6d73e

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.