20030312 Wednesday March 12, 2003

RE: GC settings to improve Eclipse performance 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! Posted in Java at Mar 12 2003, 09:32:04 AM MST 2 Comments

Comments:

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".

Posted by Anonymous on March 13, 2003 at 06:47 PM MST #

[Trackback] 1. ??? ????..    ??? ??? ???!!!!!     &nbs

Posted by ??? on June 29, 2005 at 05:15 AM MDT #

Post a Comment:
  • HTML Syntax: Allowed
Click me to subscribe
Matt Raible is the Lead UI Architect at LinkedIn. The opinions on this site are mine, not my employers.
« November 2008
SunMonTueWedThuFriSat
      
1
2
3
6
7
8
9
10
11
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
      
Today

Recent Entries

Tag Cloud