Eclipse内存消耗

时间:2014-11-24 13:24:31

标签: java eclipse

我注意到运行Eclipse Luna会占用相当多的内存(> 800 MB),这显然是我的笔记本电脑无法承受的。

我编辑了eclipse.ini来限制启动时的内存使用量,这里是:

-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20140603-1326
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vm 
C:\Program Files\Java\jdk1.7.0_67\bin\javaw.exe
-vmargs
-Xms40m
-Xmx256m

我只编辑了内存使用的最后几行。

现在内存使用量似乎更少(当前在任务管理器中声明442.000 Kb),但仍远高于我在eclipse.ini中配置的假设256 MB。

有谁能告诉我这里出错了什么?

0 个答案:

没有答案