关于使用myeclise“MyEclipse has detected that less than 5% of .....”的错误
2016-11-28 11:00
369 查看
关于使用myeclise“MyEclipse has detected that less than 5% of .....”的错误
标签: myeclipse.ini myeclipse64 java heap space myeclipse
转自: http://卢水发.iteye.com/blog/1678311
MyEclipse has detected that less than 5% of the 472MB of Tenured Gen (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.
MyEclipse报出-vmargs -Xmx512m -XX:MaxPermSize=256m -XX:ReservedCodeCacheSize=64m
MyEclipse has detected that less than 5% of the 3MB of Survivor 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
D:\Genuitec\MyEclipse 8.5\myeclipse.ini
-startup
../Common/plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
--launcher.library
../Common/plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519
-install
D:/Genuitec/MyEclipse 8.5
-vm
D:/Genuitec/Common/binary/com.sun.java.jdk.win32.x86_1.6.0.013/jre/bin/client/jvm.dll
-configuration
configuration
-vmargs
-Xmx512m
-XX:MaxPermSize=512m
-XX:ReservedCodeCacheSize=512m
重新启动Myeclipse;
很大的web工程,用tomcat默认分配的内存空间无法启动,如果不是在myeclipse中启动tomcat可以对tomcat这样设置:
TOMCAT_HOME/bin/catalina.bat 中添加这样一句话:
set JAVA_OPTS= -Xmx1024M -Xms512M -XX:MaxPermSize=256m
如果要在myeclipse中启动,上述的修改就不起作用了,可如下设置:
Myeclipse->preferences->myeclipse->servers->tomcat->tomcat×.×->JDK面板中的
Optional Java VM arguments中添加:-Xmx1024M -Xms512M -XX:MaxPermSize=256m
相关文章推荐
- 【MyEclipse】——MyEclipse has detected that less than 5% of the 28M of PS Survivor Space...
- myeclipse has detected that less than 5% of the 12MB of Survivor Space
- MyEclipse has detected that less than 5% of the 64MB of Perm Gen (Non-heap memor
- myeclipse has detected that less than 5% of the 64MB问题
- MyEclipse has detected that less than 5% of the 64MB of Perm Gen (Non-heap memor
- MyEclipse has detected that less than 5% of the 29MB of PS Survivor Space (Heap memory) space remain
- MyEclipse has detected that less than 5% of the 341MB of PS Old Gen(Heap memory) space remains.
- MyEclipse has detected that less than 5% of the 22MB of PS Survivor Space (Heap memory) space remain
- MyEclipse has detected that less than 5% of the 31MB of Eden Space (Heap memory)
- 关于less使用初学者常犯错误
- 关于MyEclipse中启动Tomcat发生错误:Publishing to Tomcat V8.0 at localhost has encountered a problem.
- 关于setup has detected that following incompatible version of xxxx的解决方法
- sniffer pro软件安装错误:Setup has detected that unInstallShield is in use
- QTCreator 使用cmake项目时错误:“Qt Creator has no kits that are suitable for CMake projects. Please configur
- Entity Framework 中 使用Include 解决ObjectContext instance has been disposed and can no longer be used for operations that require a connection错误 -原创
- 关于Android使用JNI报错 java.lang.UnsatisfiedLinkError: dlopen failed: 和xxx.so: has text relocations错误问题的解决
- 关于myeclipse WEB项目使用javabean方式整合jasperReport,Ireport设计模板,Linux错误处理,几天的研究心得
- 关于使用MyEclipse启动web项目时工具报 The specified JRE installation does not exist 错误提示解决方法
- 关于使用SharePoint的UpdateListItems两个错误的解决
- 关于“操作必须使用一个可更新的查询”错误提示!