Myeclipse下java.lang.OutOfMemoryError: Java heap space的解决
2012-07-25 17:06
393 查看
1,从Intalled JREs里修改;window->Preferences->Java->Installed JREs,选择当前的JRE,然后edit它;在新窗口里设置Default VM Arguments为 -Xms128M -Xmx512M即可;这个设置应该对所有的工程都有效;
2,如果仅仅是想对某个工程的有效的话,从Debug... 或Run...里修改,在(x)=Arguments里设置和上面相同的参数即可;
3,如果Tomcat的话,window->Preferences->Application Servers->Tomcat->Tomcat 6.x,选择JDK设置
Optional Java VM arguments中添加:-Xmx1024M -Xms512M -XX:MaxPermSize=256m 即可;
2,如果仅仅是想对某个工程的有效的话,从Debug... 或Run...里修改,在(x)=Arguments里设置和上面相同的参数即可;
3,如果Tomcat的话,window->Preferences->Application Servers->Tomcat->Tomcat 6.x,选择JDK设置
Optional Java VM arguments中添加:-Xmx1024M -Xms512M -XX:MaxPermSize=256m 即可;
相关文章推荐
- Myeclipse下java.lang.OutOfMemoryError: Java heap space的解决
- Myeclipse下java.lang.OutOfMemoryError: Java heap space的解决
- Myeclipse下java.lang.OutOfMemoryError: Java heap space的解决
- Myeclipse下java.lang.OutOfMemoryError: Java heap space的解决
- 转 MyEclipse 报“Exception in thread "main" java.lang.OutOfMemoryError: Java heap space ”错误的解决办法
- Myeclipse下java.lang.OutOfMemoryError: Java heap space的解决
- Myeclipse8.5启动tomcat控制台显示java.lang.OutOfMemoryError: Java heap space的解决
- java.lang.OutOfMemoryError: PermGen space 和 Java heap space 关于MyEclipse eclipse tomcat内存溢解决方法
- Myeclipse下java.lang.OutOfMemoryError: Java heap space的解决
- Myeclipse下java.lang.OutOfMemoryError: Java heap space的解决
- Myeclipse下java.lang.OutOfMemoryError: Java heap space的解决
- Myeclipse,eclipse下java.lang.OutOfMemoryError: Java heap space的解决
- java.lang.OutOfMemoryError: Java heap space 解决方法
- eclipse报错:“java.lang.OutOfMemoryError: Java heap space ”解决方法
- java.lang.OutOfMemoryError: Java heap space 解决方法
- java.lang.OutOfMemoryError: Java heap space 解决方法
- Caused by: java.lang.OutOfMemoryError: Java heap space错误原因及解决方法
- Maven编译出现“java.lang.OutOfMemoryError: Java heap space”问题及解决办法
- java.lang.OutOfMemoryError: Java heap space 解决方法
- ava.lang.OutOfMemoryError: Java heap space 解决方法