Speed Up Eclipse

Speed up eclipse as a super fast IDE

  1. Disable antivirus software, or add your jdk & eclipse & workspace & other related folder to white list in your antivirus software

  2. Disable unecessary validations and startup action in eclipse reference

    • 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.
    • For startup action: on eclipse menu Windows -> Preferences, type "startup", select "Startup and Shutdown", untick the options you don't need. I selected "AnyEdit Tools" only.
  3. Speed up Eclipse by modify eclipse.ini to set the Xmn(new generation size), Xms and Xmx, enable parallel GC

  4. Create a ram disk (virtual disk) on memory, and put your jdk on the ram disk

    You can use ImDisk to create ram disk.

    Open Command Prompt with administrative privileges

    # Then set the ImDisk driver to auto-load:
    sc config imdisk start=auto
    net start imdisk
    # Create a 300m ram disk as driver n by:
    imdisk -a -t vm -s 300m -m n:
    # Then you should format the ram disk manually.
    # If you would like to remove the ram disk, just run the command:
    imdisk -D -m n:
  5. Make sure you are using Oracle jdk, not open jdk/gcj nor other jdk on linux


Popular posts from this blog