文件名称:myeclipsejava虚拟机jvm参数设置
文件大小:25KB
文件格式:DOC
更新时间:2018-08-05 04:08:02
myeclipse java 虚拟机 jvm 参数
在使用MyEclipse的过程中经常出现内存不足的提示: MyEclipse has detected that less than 5% of the 31MB of Eden Space (Heap memory) space remains. It is strongly recommended that you exit and restart MyEclipse with new virtual machine memory paramters to increase this memory. Failure to do so can result in data loss. Recommended memory arguments: -vmargs -Xmx512m -XX:MaxPermSize=256m -XX:ReservedCodeCacheSize=64m 提示中说的很明白:“MyEclipse has detected that less than 5% of the 64MB of Perm Gen (Non-heap memory) space remains.”意思是说当前只有小于5%的非堆内存是空闲的。 本文档给出了解决办法,行之有效,希望能帮助困扰了很久的你