Myeclipse报Could not create Java VM
来源:互联网 发布:客户端和 java 编辑:程序博客网 时间:2024/05/18 16:54
Myeclipse报Could not create Java VM
环境:
Myeclipse6.0,tomcat6.0, 2G内存
今天一直使用DEBUG模式启动tomcat一直很慢,所以想使用RUN模式来启动,但是每次启动都报错“could not create the java virtual machine”,提示设置内存不足,百度下,都要求修改eclipse.ini配置文件,但是修改了不好使,
我原来的配置文件内容为:
-clean
-showsplash
com.genuitec.myeclipse.product.ide
--launcher.XXMaxPermSize
256m
-vmargs
-Xms256m
-Xmx1024m
-Duser.language=en
-XX:PermSize=128M
-XX:MaxPermSize=256M
现在修改为
-showsplash
com.genuitec.myeclipse.product
--launcher.XXMaxPermSize
256m
-vmargs
-Xms128m
-Xmx512m
-Duser.language=en
-XX:PermSize=128M
-XX:MaxPermSize=256M
-Djava.net.preferIPv4Stack=true
还是不好使,还是那个错误could not create the java virtual machine,
后来我想起来了,
Window->preferences->myeclipse->application servers->tonmcat->tomcat6.x->jdk
的
Optional java VM arguments中我原来设置为
-Xms256m -Xmx512m -XX:MaxPermSize=1024m,
现在修改为
-Xms256m -Xmx512m -XX:MaxPermSize=512m
顺利启动,没有问题,run方式启动确实比debug模式要快
- Myeclipse报Could not create Java VM
- JDeveloper启动报错:Could not create java vm
- myeclipse 左侧空间报Could not create the view: 2
- 报错 Error:Could not create the Java Virtual Machine
- myeclipse:could not create..异常处理
- Unrecognized VM option '+UseCompressedOops' Could not create the Java virtual machine.
- MyEclipse Servers 视窗报错“Could not create the view: An unexpected exception was thrown”
- MyEclipse Servers 报错Could not create the view: An unexpected exception was thrown
- MyEclipse报错 Could not create the view: An unexpected exception was thrown.
- Myeclipse启动后,server报Could not create the view: An unexpected exception was thrown.异常
- Could not create the view: An unexpected exception was thrown. Myeclipse空间报错
- Myeclipse server报错 Could not create the view: An unexpected exception was thrown.问题解决
- MyEclipse-server窗口报错-Could not create the view: An unexpected exception was thrown.
- MyEclipse 报“Could not create the view: An unexpected exception was thrown.”错误原因
- Could not create the view: An unexpected exception was thrown. Myeclipse空间报错
- Myeclipse 10 启动Server报错:Could not create the view: An unexpected exception was thrown
- Could not create the view: An unexpected exception was thrown. Myeclipse空间报错
- myeclipse启动报Could not create the view: An unexpected exception was thrown.
- JAVA程序员必去的网站
- 一个WEB程序如何测试产品
- IT世界七大预测
- 魔兽引发的对团队意识的冲击波
- windows下使用mingw+msys+gvim来写C++程序
- Myeclipse报Could not create Java VM
- Hello, world!
- myeclipse设置tomcat启动方式
- ArrayList的实现与System.arraycopy的使用!
- 合并字符串的几个小程序
- MVS master console意外 down的处理办法。
- [计算几何]Pku2079-Triangle
- 关于JPA(Hibernate)+spring在未使用web的情况下使用懒加载,导致no sesssion or session has closed!
- STL学习笔记