Introduction to several common parameters of eclipse. ini

Source: Internet
Author: User
Document directory
  • Modify JVM memory:-xmx
  • Modify the permanent generation memory size

Later found that there is a better introduction of eclipse. ini article, it is recommended to go directly to see this article: http://developer.51cto.com/art/200906/126835.htm

 

 

Today, I encountered the JVM terminated exit code = 1 problem. Later, I modified eclipse. the reason is not clear at present, but for eclipse. the INI file is of interest, so I found some information about eclipse on the Internet. INI information.

 

Eclipse. INI is a text file that contains parameters used during eclipse startup. You can also directly enter these parameters in the command line.

 

There are two notes for eclipse. ini:

  1. Each parameter option or parameter value must be an independent row.
  2. Parameters after-vmargs will be used by JVM, so the eclipse configuration must be placed before the-vmargs parameter.

The following are common parameters:

 

Specify JVM:-VM

 

You can use the-VM parameter to specify the Java Virtual Machine Used by eclipse. The format has the following requirements:

  1. -The VM Parameter options and parameter values are in different rows.
  2. An absolute path of a Java executable file (such as java.exe)
  3. -VM parameters must be placed before-vmargs. (My problem seems to be caused here)
Modify JVM memory:-xmx

JVM-related options should be placed under-vmargs. By modifying the-xmx parameter, you can adjust the JVM memory.

Modify the permanent generation memory size

The parameter is-XX: maxpermsize is related to what is permanent generation memory. On the Internet, I found a diagram about Java memory, which can be roughly understood, class Definition and interned strings ). This value is too small. Sometimes the outofmemoryerrors error occurs,

 

 

Related Article

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.