Accelerate eclipse to make it an ultra-fast ide

Source: Internet
Author: User

 

Follow these steps to accelerate eclipse as an ultra-fast IDE, applicable to 32-bit and 64-bit versions of Eclipse/JDK (OS is 64-bit Windows 7 ).

1. disable anti-virus software, or add JDK, Eclipse, workspace, and other related folders to the whitelist of anti-virus software.

2. disable unnecessary verification when eclipse starts.

  • Verify: In the eclipse menu windows-> preferences-> Validation, click "Disable all" and select the verification you need, I only select "classpath dependency validator )".
  • Start: In the eclipse menu windows-> preferences, type "Startup" and select "Startup and shutdown" to check the options you do not need.

3. Modify eclipse. ini to set xmn (New Generation size), XMS, and xmx, and 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) in the memory and put JDK into the RAM disk.

You can use imdisk to create a RAM disk. First, download and install the license from http://www.ltr-data.se/opencode.html/?imdisk.

Then, set the driver of imdisk to auto load (for example, right-click and start as Administrator) under the command line with the Administrator permission, and enter:

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, manually format the RAM disk.

To delete a RAM disk, run the following command:

Imdisk-D-m n:

5. Make sure that you are using Sun JDK in Linux, rather than open JDK/gcj or other JDK.

If you are satisfied with the above steps, install jrockit JDK instead of Sun JDK, and change the jrocket specifications of virtual machines, jrockit is faster than Sun JDK.

Notes:

In my laptop (ASPIRE 4745G 4g mem), 64-bit Windows 7, it takes more than 30 seconds to start eclipse by default; after the VM option adjustment, it only takes 15 seconds. After the JDK is moved to the RAM disk, it takes 10 seconds to start.

Http://www.beyondlinux.com/blog/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.