eclipse启动速度

westwin 2004-08-11 05:30:04
我的Eclipse启动实在太慢了,怎么配置Eclipse的启动参数,以提高启动速度?
btw,Eclipse是3.0的,装了VE
...全文
159 8 打赏 收藏 转发到动态 举报
写回复
用AI写文章
8 条回复
切换为时间正序
请发表友善的回复…
发表回复
gxdragon 2004-08-13
  • 打赏
  • 举报
回复
第一次启动17秒(带lomboz 3.01)
关闭后第n次9秒
westwin 2004-08-12
  • 打赏
  • 举报
回复
这和jre关系大吗?
dinosaurain 2004-08-12
  • 打赏
  • 举报
回复
Eclips慢的原因应该是启动的时候会附带启动出来一个 javaw吧
看看任务管理器就知道了.
Eclips本身只占2~3MB的内存
而javaw就要占到70~90~MB的内存.

不晓得 Eclips不需要编辑 在写代码的同时就能标记出来语法错误是不是就是这个原因
westwin 2004-08-12
  • 打赏
  • 举报
回复
楼上的方法快了那么一叮点
beming 2004-08-12
  • 打赏
  • 举报
回复
from: http://www.raibledesigns.com/page/rd/20030312
I (the author) changed my shorcut icon (Win2K) to have the following as it's target:
eclipse.exe -vmargs -Xverify:none -XX:+UseParallelGC -XX:PermSize=20M -XX:MaxNewSize=32M -XX:NewSize=32M -Xmx256m -Xms256m

Eclipse now starts in a mere 6 seconds (2 GHz Dell, 512 MB RAM). Without these extra settings, it takes 11 seconds to start. That's what I (the author) call a performance increase! (2003-03-12 09:32:04.0)

from: http://www.raibledesigns.com/comment.do?method=edit&entryid=065039163189104748672473500018
I (the author) tried this out, but the memory settings don't seem to have anything to do with startup time.
18 seconds - "eclipse.exe"
13 seconds - "eclipse.exe -vmargs -Xverify:none"
12 seconds - "eclipse.exe -vmargs -Xverify:none -XX:+UseParallelGC -XX:PermSize=20M -XX:MaxNewSize=32M -XX:NewSize=32M -Xmx96m -Xms96m"

It's only the Xverify:none parameter which has a noticeable effect on reducing startup time. On the java website I found that this parameter turns off bytecode verification ( http://developer.java.sun.com/developer/onlineTraining/Security/Fundamentals/Security.html ), although the default is supposedly "only verify classes loaded over the network".
maoerzuozuo 2004-08-12
  • 打赏
  • 举报
回复
Eclipse启动实在太慢了
gxdragon 2004-08-12
  • 打赏
  • 举报
回复
当然,Sun的jre是速度最慢的
gxdragon 2004-08-11
  • 打赏
  • 举报
回复
将你的jre换成IBM 的

58,454

社区成员

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

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