Configuration parameters when MyEclipse memory is insufficient, and myeclipse memory Parameters
-Xms256m-Xmx512m-XX: PermSize = 128 m-XX: MaxPermSize = 256 m
-Memory initially allocated by Xms JVM
-Maximum memory allocated by Xmx JVM
-XX: PermSize: Non-heap memory Initial Value
-XX: MaxPermSize: Maximum Non-heap memory size
Myeclipse memory
Modify the memory allocation in the configuration file eclipse. ini in the MyEclipse \ eclipse folder.
==========================================
The general INI File Settings mainly include the following:
-Vmargs
-Xms40m
-Xmx256m
-XX: PermSize = 64 M
-XX: MaxPermSize = 128 M
The following explains what it means.
-Vmargs: Specifies the VM parameters.
-Xms40m: the virtual machine occupies the Minimum Memory of the system.
-Xmx256m: the virtual machine occupies the maximum memory of the system.
-XX: PermSize: Minimum heap size. When insufficient memory is reported, this is too small,
If the remaining heap space is less than 5%, a warning is reported. We recommend that you set this parameter slightly.
Larger, but it depends on the memory size of your machine.
-XX: MaxPermSize: Maximum heap size. This should also be larger.
Therefore, if a problem occurs, first adjust-Xms40m: to make the settings smaller, it will be OK. We recommend that you set 1 GB memory:
-Vmargs
-Xms128M
-Xmx512M
-XX: PermSize = 256 M
-XX: MaxPermSize = 512 M
Where-XX: PermSize = 64 m can be set to a greater value, but cannot exceed MaxPermSize
-5% of Xmx512M is 25.6 M. Theoretically, the value of-Xmx and-XX: MaxPermSize must be greater than 25.6 M.
==========================================
It depends on the specific configuration of your machine.
Refer to the following article in "Configure ".
Hi.baidu.com/...1.html
Hope to help you
How can I solve the problem of memory insufficiency in myeclipse85? Changing myeclipseinit does not work.
Myeclipse. if the ini memory modification is invalid, the primary willingness is not to comply with eclipse. the setting rules of the INI file. parameters are in the form of "item value". If there are spaces in the middle, they must be written in line breaks. If there are spaces in the value, they must be included in double quotation marks.
Key: Check the format. Click the mouse to check whether there is a row below the last line in the myeclipse. ini file. If there is a return key, delete it and save it. If no blank lines are checked by line, the eclipse. ini file does not contain excessive blank lines and spaces.