Resolve an issue with running out of eclipse memory

Source: Internet
Author: User

Tag: Eclipse memory is low

In the Eclipse directory, build a batch file Eclipse.bat, open with a text editor, and write the following:
eclipse.exe-vmargs-xms128m-xmx512m-xx:permsize=128m-xx:permsize=256m

Then save the. Execute this batch at a later time when you run eclipse.
Explain the meaning of the following parameters:
-vmargs Description The parameters that follow are the parameters of the Java Virtual Machine (VM)
-xms128m minimum memory for virtual machine occupancy system
-xmx512m maximum memory for virtual machine occupancy system
-xx:permsize=64m minimum heap size. Generally reported that the memory is not enough, it is said that this is too small, heap space remaining less than 5% will be warned, it is recommended to set this slightly larger, but depending on the size of their own machine memory to set
-xx:permsize=128m the maximum heap size. This one's a little bit bigger.

Then click Batch file to start

You can also configure the Eclipse.ini in the

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

Recently, when using Eclipse, a long time to pop a dialog box, indicating that the memory is not enough (to the effect), find a lot of information is not resolved, recently on the official website of Eclipse found its solution, hope to friends like me to help, the solution is as follows,
Build a shortcut to launch Eclipse on the desktop, right-click on the shortcut, Add the following to the target of the regular label:

e:\eclipse\eclipse.exe-clean-vmargs-xms128m-xmx512m-xx:permsize=64m-xx:maxpermsize=128m, where "E:\eclipse\ Eclipse.exe "is my eclipse's path.

Then restart your eclipse and try it!


This article is from the "Simplelife" blog, make sure to keep this source http://simplelife.blog.51cto.com/9954761/1919289

Resolve an issue with running out of eclipse memory

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.