您的位置:首页 > 编程语言 > Java开发

Eclipse设置

2015-12-08 11:04 666 查看

CPU占用过高处理

1.观察:显示GC条显示heap和GC的情况,手动GC,较为实用

进入
D:\works\.metadata\.plugins\org.eclipse.core.runtime\.settings
(D:\works\是你的工作空间目录,替换即可)编辑
org.eclipse.ui.prefs
文件,加一句
SHOW_MEMORY_MONITOR=true
然后保存。启动Eclipse(或重启),在工具右下方出现可视条,手动处理就好了。

2.设置:eclipse.ini文件配置如下

-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20120913-144807
-product
org.eclipse.epp.package.mobile.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
1024M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
1024m
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Dhelp.lucene.tokenizer=standard
-Xms1024m
-Xmx1024m
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  eclipse heap cpu AndroidStu