Vista下使用eclipse 3.3启动时可能会碰到的crashed问题解决

xueyong1203 2007-07-03 10:28:13
我现在使用的是eclipse 3.3 for java 的那个
系统是vista,第一次普通权限 运行 eclipse.exe时没问题,但第二次开始,一打开就说crashed,只能使用管理员模式运行才OK
今天看了下eclipse目录下readme目录下的html
发现
Opening File Dialog crashes eclipse (Vista only)
On Vista, launching eclipse using -vmargs -Xmx[any size] can crash eclipse when the FileDialog is opened. The workaround is to use the default heap size, i.e. do not use the -Xmx VM args. See bug 188317 for details.

这个bug

所以只要把 eclipse.ini里面的-Xmx这行去掉就OK了

我猜测,普通权限运行eclipse时,-Xmx指定分配内存可能会因为权限不够而挂掉,相反用管理员身份就不会有问题
...全文
467 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
xueyong1203 2007-07-04
  • 打赏
  • 举报
回复
晕,去掉-Xmx后eclipse会经常outofmemory挂掉
我还是加上了又。。。
每次都是管理员运行

58,453

社区成员

发帖
与我相关
我的任务
社区描述
Java Eclipse
社区管理员
  • Eclipse
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧