Eclipse 3.4(Ganymede)的内存使用率明显高于3.2? [英] Is Eclipse 3.4 (Ganymede) memory usage significantly higher than 3.2?

查看:124
本文介绍了Eclipse 3.4(Ganymede)的内存使用率明显高于3.2?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我很高兴地使用Eclipse 3.2(或者像一个可以使用Eclipse一样快乐),因为一个被遗忘的原因,我决定升级到3.4。我主要使用PyDev,Aptana和Subclipse,非常少的Java开发。



我注意到3.4倾向于真正给我的笔记本电脑疝气比3.2(vista ,core2duo,2G)。内存使用率3.4实际上高于3.2,如果是这样的方法来减少它?



编辑:我尝试禁用插件(我没有太多启用)并使用jvm监视器;后者是有趣的,但我无法弄清楚如何以任何实用的方式使用信息。我仍然无法减少其内存占用。我也注意到,每隔一段时间,Eclipse只会挂起约30秒,然后神奇回来。

解决方案

选项,我设法将内存限制为700Mo(这相当高,但仍然可以用我的2 Go)

  vmargs 
-Xms128m
-Xmx384m
-Xssv2m
-XX:PermSize = 128m
-XX:MaxPermSize = 128m
-XX:CompileThreshold = 5
-XX:+ UseParallelGC
-Dcom.sun.management.jmxremote

还要考虑推出

  C:\ [jdk1.6.0_0x路径] \bin\jconsole.exe 

并选择'Connection / New connection /'eclipse'来监视eclipse使用的内存

(这就是为什么我使用'-Dcom.sun.management.jmxremote')



其他选项可用 here


I was happily using Eclipse 3.2 (or as happy as one can be using Eclipse) when for a forgotten reason I decided to upgrade to 3.4. I'm primarily using PyDev, Aptana, and Subclipse, very little Java development.

I've noticed 3.4 tends to really give my laptop a hernia compared to 3.2 (vista, core2duo, 2G). Is memory usage on 3.4 actually higher than on 3.2, and if so is there a way to reduce it?

EDIT: I tried disabling plugins (I didn't have much enabled anyway) and used the jvm monitor; the latter was interesting but I couldn't figure out how to use the info in any practical way. I'm still not able to reduce its memory footprint. I've also noticed every once in a while Eclipse just hangs for ~30 seconds, then magically comes back.

解决方案

With those options, I manage to limit the memory used to 700Mo (which is quite high, but still workable with my 2 Go)

-vmargs
-Xms128m
-Xmx384m
-Xssv2m
-XX:PermSize=128m
-XX:MaxPermSize=128m
-XX:CompileThreshold=5
-XX:+UseParallelGC
-Dcom.sun.management.jmxremote

And consider also to launch

C:\[jdk1.6.0_0x path]\bin\jconsole.exe

And choose 'Connection / New connection / 'eclipse' to monitor the memory used by eclipse
(which is why I use '-Dcom.sun.management.jmxremote')

Other options are available here.

这篇关于Eclipse 3.4(Ganymede)的内存使用率明显高于3.2?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆