Eclipse PDT不时冻结 [英] Eclipse PDT is freezing from time to time
问题描述
我使用Eclipse PDT Helios,即使使用小型PHP文件(如10行,没有任何包含)或任何可能在解析时可能导致问题的复杂语句,它有时会冻结2-3秒。我的机器有3GB以上的RAM,我已将HEAP大小设置为990MB。 CPU是Intel E7500 2.9Ghz。
可能是什么问题?这样的工作很烦人。我明白什么时候打开几秒钟,打开> 50KB的大文件,但小的文件。当我进行更改或者我保存文件时,它也冻结。这正在减缓开发过程。我可以每分钟或两点冻结:(
不知道这是否是正确的论坛,但这是一个与IDE连接的编程问题,所以我猜这里的人不介意帮助我,如果可以的话。
我正在使用Eclipse进行PHP开发,并安装了Subclipse,我的工作副本位于本地网络的服务器上。 >
我目前的eclipse.ini是
-startup
plugins / org.eclipse.equinox.launcher_1.1.0.v20100507.jar
--launcher.library
plugins / org.eclipse.equinox.launcher.win32.win32。 x86_1.1.1.R36x_v20100810
-product
org.eclipse.epp.package.php.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
512M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
512m
--launcher.defaultAction
openFile
-vmargs
- Dorg.eclipse.swt.internal.gtk.disablePrinting < br>
-Dosgi.requiredJavaVersion = 1.5
-Xms1024m
-Xmx1024m
-XX:PermSize = 512m
-XX:MaxPermSize = 512m
我写了一个href =http://www.nwiresoftware.com/blogs/nwire/2010/09/five-tips-speeding-eclipse-pdt-and-nwire =nofollow>关于加快PDT索引的文章。这可能有帮助。
I am usign Eclipse PDT Helios and it sometimes freezes for 2-3 seconds even when working with small PHP files, like 10 rows without any includes in them or any complex statement that may cause a problem while parsing. My machine has more than 3GB RAM and I have setup the HEAP size to 990MB. The CPU is Intel E7500 2.9Ghz.
What could be the problem? It is annoying to work like that. I understand when it "thinks" for few seconds when opening large files like > 50KB but how about the small ones. It also freezes when I am making a change or I save the file. This is slowing the development process. I can have a freeze every min or 2 :(
Not sure if this is the right forum, but this is a programming problem connected with the IDE so I guess people here will not mind helping me if they can.
I am using Eclipse for PHP development with Subclipse installed and my working copies are on a server in our local network.
My current eclipse.ini is
-startup
plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.1.R36x_v20100810
-product
org.eclipse.epp.package.php.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
512M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
512m
--launcher.defaultAction
openFile
-vmargs
-Dorg.eclipse.swt.internal.gtk.disablePrinting
-Dosgi.requiredJavaVersion=1.5
-Xms1024m
-Xmx1024m
-XX:PermSize=512m
-XX:MaxPermSize=512m
I wrote an article on speeding up PDT indexing. It might help.
这篇关于Eclipse PDT不时冻结的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!