当前位置: 首页 > news >正文

Speed up your eclipse as a super fast IDE

2019独角兽企业重金招聘Python工程师标准>>> hot3.png

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
-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 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.


转载于:https://my.oschina.net/liuyi126/blog/212369

相关文章:

  • grep 正则表达式 vim及相关知识
  • 自动部署ubuntu系统时ks.cfg和ks.seed有什么不同
  • Android学习系列(19)--App离线下载
  • oracle12c管理作业资源的一种方式
  • uva 11121(-2进制)
  • IDEA编码编译不通过
  • ❲很有料❳系统负载能力浅析
  • mysql更新一个表中的某个字段值等于另一个表的某个字段值
  • a++与 ++a
  • ios 自定义cell cellForRowAtIndexPath中的写法
  • Angular学习(8)- 路由
  • PHP核心技术与最佳实践 读书笔记 第三章 正则表达式基础与应用
  • Ubantu 16.04升级内核版本和还原到升级之前的内核版本的方法
  • Android五种数据传递方法汇总
  • 10.1 使用w查看系统负载 10.2 vmstat命令 10.3 top命令 10.4 sar命令 10.5 nload命令
  • JavaScript-如何实现克隆(clone)函数
  • 收藏网友的 源程序下载网
  • 〔开发系列〕一次关于小程序开发的深度总结
  • Android单元测试 - 几个重要问题
  • ES6简单总结(搭配简单的讲解和小案例)
  • Essential Studio for ASP.NET Web Forms 2017 v2,新增自定义树形网格工具栏
  • GDB 调试 Mysql 实战(三)优先队列排序算法中的行记录长度统计是怎么来的(上)...
  • httpie使用详解
  • JavaScript工作原理(五):深入了解WebSockets,HTTP/2和SSE,以及如何选择
  • Linux快速复制或删除大量小文件
  • Octave 入门
  • oldjun 检测网站的经验
  • python学习笔记-类对象的信息
  • Stream流与Lambda表达式(三) 静态工厂类Collectors
  • 成为一名优秀的Developer的书单
  • 讲清楚之javascript作用域
  • 坑!为什么View.startAnimation不起作用?
  • 两列自适应布局方案整理
  • 思考 CSS 架构
  • 体验javascript之美-第五课 匿名函数自执行和闭包是一回事儿吗?
  • 问题之ssh中Host key verification failed的解决
  • 用element的upload组件实现多图片上传和压缩
  • !!Dom4j 学习笔记
  • ###STL(标准模板库)
  • #我与Java虚拟机的故事#连载02:“小蓝”陪伴的日日夜夜
  • (9)YOLO-Pose:使用对象关键点相似性损失增强多人姿态估计的增强版YOLO
  • (PWM呼吸灯)合泰开发板HT66F2390-----点灯大师
  • (附源码)php投票系统 毕业设计 121500
  • (附源码)ssm高校志愿者服务系统 毕业设计 011648
  • (篇九)MySQL常用内置函数
  • (三十五)大数据实战——Superset可视化平台搭建
  • (十三)Java springcloud B2B2C o2o多用户商城 springcloud架构 - SSO单点登录之OAuth2.0 根据token获取用户信息(4)...
  • (四)TensorRT | 基于 GPU 端的 Python 推理
  • (转)Scala的“=”符号简介
  • (转载)OpenStack Hacker养成指南
  • (轉貼) 寄發紅帖基本原則(教育部禮儀司頒布) (雜項)
  • ***汇编语言 实验16 编写包含多个功能子程序的中断例程
  • .bat批处理(六):替换字符串中匹配的子串
  • .NET CORE 2.0发布后没有 VIEWS视图页面文件
  • .net core webapi Startup 注入ConfigurePrimaryHttpMessageHandler