Topic: GC settings to improve Eclipse startup |
Print this page |
1.GC settings to improve Eclipse startup | Copy to clipboard |
Posted by: why Posted on: 2003-03-17 02:57 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". |
2.Re:GC settings to improve Eclipse startup [Re: why] | Copy to clipboard |
Posted by: rainman Posted on: 2003-03-17 03:14 Great Tips! |
3.Re:GC settings to improve Eclipse startup [Re: why] | Copy to clipboard |
Posted by: zxbq Posted on: 2003-05-02 21:55 cool,quick! |
Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1 客服电话 18559299278 客服信箱 714923@qq.com 客服QQ 714923 |