非常慢的Eclipse 4.2,如何使其更加敏感? [英] Very slow Eclipse 4.2, how to make it more responsive?

查看:193
本文介绍了非常慢的Eclipse 4.2,如何使其更加敏感?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在一个相当大的PHP项目中使用Eclipse PDT,IDE几乎不可用。打开文件需要近30秒的时间,其他操作,如在文件浏览器中选择一个文件夹,编辑文本等等同样慢。



各种指令加速,但似乎没有任何工作。这是我目前的 eclipse.ini 文件。任何想法如何改善它?

  -startup 
plugins / org.eclipse.equinox.launcher_1.3.0。 v20120522-1813.jar
--launcher.library
plugins / org.eclipse.equinox.launcher.win32.win32.x86_1.1.200.v20120522-1813
-showsplash
org .eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vmargs
-server
-Dosgi .requiredJavaVersion = 1.7
-Xmn128m
-Xms1024m
-Xmx1024m
-Xss2m
-XX:PermSize = 128m
-XX:MaxPermSize = 128m
-XX:+ UseParallelGC

系统:Eclipse 4.2.0,Windows 7,4 GB RAM

解决方案

实际上,在查看机器配置时,您应该确保机器中没有发生任何其他事情,并尝试减少所需的记忆,说像-Xmx512m。如果您要求太多的堆空间,那么可能您正在进行大量的操作系统分页。


I'm using Eclipse PDT on a rather large PHP project and the IDE is almost unusable. It takes nearly 30 seconds to open a file, and other actions, like selecting a folder in the file explorer, editing some text, etc. are equally slow.

I followed various instructions to speed it up but nothing seems to work. This is my current eclipse.ini file. Any idea how I can improve it?

-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.200.v20120522-1813
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vmargs
-server
-Dosgi.requiredJavaVersion=1.7
-Xmn128m
-Xms1024m
-Xmx1024m
-Xss2m
-XX:PermSize=128m
-XX:MaxPermSize=128m
-XX:+UseParallelGC

System: Eclipse 4.2.0, Windows 7, 4 GB RAM

解决方案

Actually in looking at your machine configuration, you should make sure nothing else is going on in the machine and experiment with reducing your required memory, say something like -Xmx512m. If you are requesting too much heap space, then it's possible you are doing a lot of OS paging.

这篇关于非常慢的Eclipse 4.2,如何使其更加敏感?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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