Search code examples
javac++eclipse-pluginideeclipse-cdt

Speed up Eclipse CDT start up?


it takes loads of time for eclipse CDT to start! in order to test a simple .cpp file we need to wait for minutes to actually start coding. any tips to speed up it's start? i have disabled all plugins at start up and i'm using java 7.1 and eclipse juno. i tried to configure the eclipse.ini file which lead to crash many times.


Solution

  • This answer about configuring the ecilpse.ini file can help you:

    What are the best JVM settings for Eclipse?

    The configuration I have has increased a bit the overal performance, but at the cost of slightly slower startup

    -startup
    plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
    --launcher.library
    plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20120913-144807
    -product
    org.eclipse.epp.package.jee.product
    --launcher.defaultAction
    openFile
    --launcher.XXMaxPermSize
    256M
    -nosplash
    --launcher.XXMaxPermSize
    256m
    --launcher.defaultAction
    openFile
    -vmargs
    -server
    -Dosgi.requiredJavaVersion=1.7
    -Dhelp.lucene.tokenizer=standard
    -Xss1m
    -Xms512m
    -Xmx1g
    -Xverify:none
    -XX:CompileThreshold=2500