세브니
2005-06-29 15:08:50
3
14525

eclipse startup


from: http://www.raibledesigns.com/page/rd/20030312
I 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 call a performance increase! (2003-03-12 09:32:04.0)

from: http://www.raibledesigns.com/comment.do?method=edit&entryid=065039163189104748672473500018
I 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".


0
  • 댓글 3

  • yulisys
    2005-06-29 17:58:58
    -Xverify:none
    이게 핵심이군요.. 확실히 많이 빨라집니다.. 좋은 정보 감사~
  • Kenny
    2005-06-29 22:09:20
    확실히 빨라지는군요.
    HP NX7100, 1GB 에서 테스트 했습니다. 절반 정도로 떨어지는거 같네요.
  • Kenny
    2005-08-20 16:13:10
    많이 빨라집니다. HP NX7100, 1GB Memory, Ubuntu Horay with Kernel 2.6.10-5-686 에서 테스트 했습니다. MyEclipse Workbench 4.0 정식 릴리즈도 및일 안남았고.. 이제 슬슬 Eclipse 3.1에서도 편안하게 작업할 수 있겠네요. (SVN문제만 빼면 말이죠....)
  • 로그인을 하시면 댓글을 등록할 수 있습니다.