关闭

MyEclipse内存不足提示

标签: myeclipseeclipseparameterslessjvmjava
493人阅读 评论(0) 收藏 举报
分类:

eclipse关闭时提示:

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 virtual 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 

解决方法如下:

1:在MyEclipse中设置

在window->preferences->myeclipse->application server->tomcat 5->jdk->optional java jvm arguments里加 -Xms128m -Xmx512m

2:在eclipse快捷方式,目标中添加:

-vmargs -Xms128M -Xmx512M -XX:PermSize=64M -XX:MaxPermSize=128M

0
0

查看评论
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
    个人资料
    • 访问:26930次
    • 积分:440
    • 等级:
    • 排名:千里之外
    • 原创:15篇
    • 转载:9篇
    • 译文:0篇
    • 评论:3条