提高Eclipse启动速度的办法
来源:互联网 发布:知乎 安卓下载 编辑:程序博客网 时间:2024/05/29 00:32
提高Eclipse启动速度的办法
Speed up your eclipse as a super fast IDE
June 25, 2011 by euler
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 7 x64.
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
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
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 200m ram disk as driver n by:
imdisk -a -t vm -s 300m -m n:
then you should format the ram disk manually.
later ,if you would 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 7 x64, 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.
- 提高Eclipse启动速度的办法
- 提高编码速度的一个办法
- 提高Java编码速度的一个办法
- 提高Java编码速度的一个办法
- 提高PHP速度的几种办法
- 提高PHP速度的几种办法
- 提高myeclipse的启动速度
- 提高编译速度办法
- 提高UBUNTU的SSH登陆认证速度的办法
- 提高Ubuntu的SSH登陆认证速度的办法
- 如何提高OpenOffice的启动速度.
- 如何提高myeclipse的启动速度
- Android提高启动速度的实现方法
- Android提高启动速度的实现方法
- 提高火狐浏览器的启动速度
- Android提高启动速度的实现方法
- 如何提高APP的启动速度
- 提高应用启动速度的小窍门
- 关于两个数交换
- 【异步请求相关知识点】flush()缓冲区强制写出
- angular4子路由&辅助路由
- java运算符,>>,>>>,<<
- windows 10 安装composer 出错
- 提高Eclipse启动速度的办法
- 【Docker构建】- Nginx创建带Nginx服务的Centos Docker镜像
- 把linux用户添加到其他组
- 2017上半年总结
- 【C语言】if分支语句
- java 新手入门课程03
- 基于tcp的C/S模型
- Java中的equals和==
- SunlightDB区块链3.0技术架构简介