Eclipse 3.5(和更新的)切换选项卡非常慢 [英] Eclipse 3.5 (and newer) switching tab is very slow

查看:145
本文介绍了Eclipse 3.5(和更新的)切换选项卡非常慢的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我正在使用3个java文件打开
1个文件〜 2000行
其他2是〜700行。



但是当我从1个文件选项卡切换到另一个文件时,eclipse需要很长时间(〜20秒)切换到另一个标签。



我已经将eclipse.ini更改为

  more eclipse.ini 
-startup
../../../plugins/org.eclipse.equinox.launcher_1.0.200.v20090520.jar
--launcher。库
../../../plugins/org.eclipse.equinox.launcher.cocoa.macosx_1.0.0.v20090519
-product
org.eclipse.epp.package.jee .product
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
-vmargs
-Dosgi.requiredJavaVersion = 1.5
-XstartOnFirstThread
-Dorg.eclipse.swt.internal.carbon.smallFonts
-XX:MaxPermSize = 512m
-Xms128m
-Xmx1024m
-Xdock:icon = ../Resources/Eclipse.icns
-XstartOnFirstThread
-Dorg.eclipse.swt.internal.carbon.smallFonts

有没有办法使eclipse 3.5更快吗?



谢谢。

解决方案

在eclipse.ini文件中(在eclipse应用程序包中找到):

  -Dosgi.requiredJavaVersion = 1.5 

  Dosgi.requiredJavaVersion = 1.6 

,标签切换再次快速。


I am using eclipse 3.5 (cocoa build) on Macos 10.5 with Java 1.5.0.19.

I just have 3 java files opened 1 files ~ 2000 lines the other 2 are ~ 700 lines.

But when I switch from 1 file tab to another, eclipse takes a long time (~ 20 seconds) to switch to another tab.

I have already change the eclipse.ini to

more eclipse.ini
-startup
../../../plugins/org.eclipse.equinox.launcher_1.0.200.v20090520.jar
--launcher.library
../../../plugins/org.eclipse.equinox.launcher.cocoa.macosx_1.0.0.v20090519
-product
org.eclipse.epp.package.jee.product
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
-vmargs
-Dosgi.requiredJavaVersion=1.5
-XstartOnFirstThread
-Dorg.eclipse.swt.internal.carbon.smallFonts
-XX:MaxPermSize=512m
-Xms128m
-Xmx1024m
-Xdock:icon=../Resources/Eclipse.icns
-XstartOnFirstThread
-Dorg.eclipse.swt.internal.carbon.smallFonts

Is there any way to make eclipse 3.5 more speedy?

Thank you.

解决方案

I switched this line in the eclipse.ini file (found inside the eclipse application package):

-Dosgi.requiredJavaVersion=1.5

to

-Dosgi.requiredJavaVersion=1.6

and tab switching was speedy again.

这篇关于Eclipse 3.5(和更新的)切换选项卡非常慢的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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