Eclipse Memory Overflow Settings

Source: Internet
Author: User

There may be a problem with the setup of the Eclipse.ini file under the Eclipse directory, and the general INI file settings mainly include the following:
-vmargs-xms40m-xmx256m-xx:permsize=64m-xx:maxpermsize=128m
The following explains its meaning. -vmargs: Description is followed by the parameters of the VM-xms40m: Virtual machine occupies the system's minimum memory-xmx256m: Virtual machine occupies the system's maximum memory-xx:permsize: Minimum heap size. Generally reported insufficient memory, is said that this is too small, heap space remaining less than 5% will be warned, it is recommended to make this slightly larger, but depending on the size of your machine memory to set-xx:maxpermsize: Maximum heap size. This is also appropriate larger, so if there is a problem, first adjust the-xms40m: set it smaller, OK, 1g memory recommended set to:-vmargs-xms128m-xmx512m-xx:permsize=256m-xx:maxpermsize= 512M where-xx:permsize=64m can be set larger, but not more than maxpermsize-xmx512m 5% is 25.6M, theoretically requires that the value of-XMX and-xx:maxpermsize must be greater than 25.6M

--------------------------------------------------------------------------------------------------------------- -----------

-hotspot-xms32m-xmx256m-xx:maxpermsize=128m

Eclipse Memory Overflow Settings

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.