MyEclipse insufficient memory? Here's what you want solutions to problems

[ MyEclipse CI 2019.4.0 installation package download ]

No.1

Open myeclipse.ini file in the directory MyEclipse modify the following attributes in the back a few:

  • vmargs
  • Xms512m (  the Java can allocate memory)
  • Xmx512m (JAVA maximum amount of memory that can be allocated)
  • XX: PermSize = (initial value of non-heap memory) 512M
  • XX: MaxPermSize = 512M (maximum non-heap memory)
  • XX: ReservedCodeCacheSize = 64m (eclipse cache)
No.2

ECLIPSE.EXE a new desktop shortcut to open the shortcut properties, options in the shortcut target 
 followed by -vmargs-Xms128m-Xmx512m-Xmx512m-  XX: PermSize = 64m-XX: MaxPermSize = 128m,
 for example: 
 D: \ java \ eclipse \ eclipse.exe -vmargs-  Xms128m-Xmx512m-Xmx512m-XX: PermSize = 64m-XX: MaxPermSize = 128m

No.3

I encountered such a prompt when using myeclipse:

myeclipse has detected that less than 5% of the 64MB of Perm Gen(Non_heap memory) space remains. 
 It is strongly recommended that you exit and restart MyEclipse with new virtul machine memory paramters to increase this memory.Failure to do so can result in data loss. 
 The recommended Eclipse memory parameters are: 
 eclipse.exe –vmargs -Xms128m -Xmx512m -XX:PermSize=64m -XX:MaxPermSize=128m

Solve this problem using the following command:

eclipse.exe -vmargs -Xms256M -Xmx700M -XX:PermSize=150M -XX:MaxPermSize=300M

Assume eclipse in E: command \ eclipse-SDK-3.2.1-win32 \ eclipse below, you will need are:

cd E:\eclipse-SDK-3.2.1-win32\eclipse

eclipse.exe –vmargs -Xms128m -Xmx512m  -XX:PermSize=64m -XX:MaxPermSize=128m

-vmargs: Description followed by the VM parameters -Xms40m: minimum memory footprint virtual machine system -Xmx256m: -XX virtual machine occupies the maximum memory system: PermSize: minimum heap size. When General reported insufficient memory, we are saying this is too small, less than 5% of the remaining heap space will be warned, it is recommended to set this a little bigger, but depending on your machine memory size is set -XX: MaxPermSize: maximum heap size. This is also suitably bigger -Xmx512M 5% 25.6M, theoretically required value and the -XX -Xmx: MaxPermSize must be greater than 25.6M.

No.4

Open eclipse -server- Select Service

After joining: -vmargs-Xms128m-Xmx512m-Xmx512m-XX: PermSize = 64m-XX: MaxPermSize = 128m, added to the end, click Apply to save.

This article is reproduced from csdn- drunk Mohan marsh

MyEclipse Micro Signal

Guess you like

Origin www.cnblogs.com/AABBbaby/p/11250339.html