5-Step Optimization of your eclipse (summarized by experts outside China)

Source: Internet
Author: User

It has been very slow to start with eclipse. I searched a lot of methods on the Internet without any effect, so I went to Google to search for a foreign solution. After the search, the speed is obviously optimized.

The article is as follows:

Follow these steps to speed up your eclipse as a super fast IDE, it works for 32 & 64 bit version Eclipse/JDK on my Windows 7x64.

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. (Thanks for David's suggest, I 've added the above 2 detail steps for readers)

3. Modify eclipse. ini to set the xmn (New Generation size), XMS and xmx, enable parallel GC
-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
256 m
-Showsplash
Org. Eclipse. Platform
-Launcher. xxmaxpermsize
256 m
-Launcher. defaultaction
Openfile
-Vmargs
-Server
-Dosgi. requiredjavaversion = 1.5
-Xmn128m
-Xms1024m
-Xmx1024m
-Xss2m
-XX: permsize = 128 m
-XX: maxpermsize = 128 m
-XX: + useparallelgc

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. Firstly download it from: http://www.ltr-data.se/opencode.html/#ImDisk,
And install it.

Then set the imdisk driver to auto-load at command prompt with administrative privileges (for example right-click, start as Administrator), type:

SC config imdisk start = auto
Net start imdisk

Create a 200 m RAM disk as driver N:
Imdisk-a-t VM-S 300 m-m n:

Then you shoshould format the RAM disk manually.

Later, if you wowould like to remove the RAM disk, just run the command:
Imdisk-D-m n:

5. Make sure you are using Sun JDK, not open JDK/gcj nor other JDK on Linux.
If you are not satified 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.

Some note:

On my laptop (ASPIRE 4745G 4g mem), Windows 7x64, by default, it takes more than 30 seconds to start eclipse. after the VM options tuned, takes only 15 seconds.

And after JDK moved to RAM disk, it takes 10 seconds to startup.

Address: http://www.beyondlinux.com/2011/06/25/speed-up-your-eclipse-as-a-super-fast-ide/

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.