MyEclipse has detected that less than 5% of the 22MB of PS Survivor Space (Heap memory) space remain

MyEclipse错误:


MyEclipse has detected that less than 5% of the 22MB of PS Survivor Space (Heap memory) space remains.  It is strongly recommended that you exit and restart MyEclipse with new virtual machine memory parameters to increase this memory; failure to do so can

            


解决办法:找到你的MyEclipse安装路径(如:C:/Program Files/MyEclipse8.6/eclipseeclipse.ini或者myEclispe.ini)

改其中的文件内容:

-Xms128m 表示JVM Heap(堆内存)最小尺寸128MB,初始分配 
        -Xmx512m 表示JVM Heap(堆内存)最大允许的尺寸256MB,按需分配。 

将Xmx512m改成1200m,就可以了。


你可能感兴趣的:(MyEclipse,has,Detect)