Eclipse设置

来源:互联网 发布:c语言逻辑或怎么打手机 编辑:程序博客网 时间:2024/06/06 08:50

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文件配置如下

-startupplugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar--launcher.libraryplugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20120913-144807-productorg.eclipse.epp.package.mobile.product--launcher.defaultActionopenFile--launcher.XXMaxPermSize1024M-showsplashorg.eclipse.platform--launcher.XXMaxPermSize1024m--launcher.defaultActionopenFile-vmargs-Dosgi.requiredJavaVersion=1.5-Dhelp.lucene.tokenizer=standard-Xms1024m-Xmx1024m
0 0
原创粉丝点击