登录 注册
当前位置:主页 > 资源下载 > 47 > 设置MyEclipse中的Java虚拟机(JVM)参数

设置MyEclipse中的Java虚拟机(JVM)参数

  • 更新:2024-09-29 22:54:32
  • 大小:25KB
  • 推荐:★★★★★
  • 来源:网友上传分享
  • 类别:Java - 后端
  • 格式:DOC

资源介绍

在使用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%的非堆内存是空闲的。 本文档给出了解决办法,行之有效,希望能帮助困扰了很久的你