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