Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I don't know about how to speed up the debugging in Eclipse, but there are some general rules you can follow to speed up Eclipse on a whole:</p> <ol> <li><p>Disable antivirus software, or add your JDK &amp; eclipse &amp; workspace &amp; other related folder to white list in your antivirus software.</p></li> <li><p>Disable unnecessary validations and startup action in Eclipse reference.</p> <p>For validations: on Eclipse menu Windows -> Preferences -> Validation, click “Disable All”, and then select the validator which you need. I selected “Classpath Dependency Validator” only.</p> <p>For startup action: on eclipse menu Windows -> Preferences, type “startup”, select “Startup and Shutdown”, untick the options you don’t need. (Thanks for David’s suggest, I’ve added the above 2 detail steps for readers)</p></li> <li><p>Modify eclipse.ini to set the Xmn(new generation size), Xms and Xmx, enable parallel GC</p> <pre><code>-vm C:/jdk1.6.0_25/bin -startup plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar –launcher.library plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.100.v20110502 -product org.eclipse.epp.package.jee.product –launcher.defaultAction openFile –launcher.XXMaxPermSize 256M -showsplash org.eclipse.platform –launcher.XXMaxPermSize 256m –launcher.defaultAction openFile -vmargs -server -Dosgi.requiredJavaVersion=1.5 -Xmn128m -Xms1024m -Xmx1024m -Xss2m -XX:PermSize=128m -XX:MaxPermSize=128m -XX:+UseParallelGC </code></pre></li> <li><p>Create a ram disk(virtual disk) on memory, and put your jdk on the ram disk. You can use imdisk to create ram disk. Firstly download it from: <a href="http://www.ltr-data.se/opencode.html/#ImDisk" rel="nofollow noreferrer">http://www.ltr-data.se/opencode.html/#ImDisk</a>, and install it.</p> <p>Then set the ImDisk driver to auto-load at Command Prompt with administrative privileges (for example right-click, start as Administrator), type:</p> <pre><code>sc config imdisk start= auto net start imdisk </code></pre> <p>Create a 200m ram disk as driver n by:</p> <pre><code>imdisk -a -t vm -s 300m -m n: </code></pre> <p>Then you should format the ram disk manually.</p> <p>Later, if you would like to remove the ram disk, just run the command:</p> <pre><code>imdisk -D -m n: </code></pre></li> <li><p>Make sure you are using Sun JDK, not open JDK/GCJ nor other JDK on Linux. If you are not satisfied with the after the above steps, install jRockit instead of Sun JDK, and change some of the VM options by jRocket specification, jRockit is faster than Sun JDK.</p></li> </ol>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload