Eclipse memory overflow settings

Source: Internet
Author: User

The setting of the eclipse. ini file in the eclipse directory may be incorrect. The general setting of the INI file mainly includes the following items:
-Vmargs-Xms40m-Xmx256m-XX: permsize = 64m-xx: maxpermsize = 128 m
The following explains what it means. -Vmargs: The following is the VM parameter-xms40m: The minimum memory occupied by the VM-xmx256m: The maximum memory occupied by the VM-XX: permsize: The minimum heap size. Generally, when the memory is insufficient, it is said that this is too small. If the remaining heap space is smaller than 5%, a warning will be given. We recommend that you set this to a slightly larger value, but set it based on the memory size of your machine-XX: maxpermsize: Maximum heap size. This is also appropriate larger so if there is a problem, first please adjust-xms40m: Set it to a smaller number, it is OK, 1g memory is recommended to set to:-vmargs-Xms128M-Xmx512M-XX: permsize = 256m-xx: maxpermsize = 512m where-XX: permsize = 64 m can be set larger, but cannot exceed 5% of the MaxPermSize-Xmx512M is 25.6 m, theoretically required-the value of xmx and-XX: maxpermsize must be greater than 25.6 m

 

Bytes --------------------------------------------------------------------------------------------------------------------------

-Hotspot-xms32m-xmx256m-XX: maxpermsize = 128 m

 

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.