MyEclipse内存不足提示

来源:互联网 发布:淘宝男装夹克 编辑:程序博客网 时间:2024/05/17 08:04

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

原创粉丝点击