Eclipse:启动时间慢

时间:2011-01-08 17:23:43

标签: eclipse macos zend-studio

我的MacBook Air(2010)上有Eclipse 3.6.1,而且我的启动时间变慢了。嗯,慢,与我的桌面相比,它的功能有点不那么强,几年了。)

启动通常需要15秒,其中4个只是在Eclipse启动屏幕上,在Eclipse加载任何内容之前。没有项目在启动时开放。

这是我的eclipse.ini的副本。

-startup
../../../plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
--launcher.library
../../../plugins/org.eclipse.equinox.launcher.cocoa.macosx.x86_64_1.1.1.R36x_v20100810
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
512m
--launcher.defaultAction
openFile
-vmargs
-Xms256m
-Xmx512m
-Xdock:icon=../Resources/Eclipse.icns
-XstartOnFirstThread
-Dorg.eclipse.swt.internal.carbon.smallFonts
-Dosgi.requiredJavaVersion=1.6
-Xverify:none
-XX:+UseConcMarkSweepGC
-XX:+CMSClassUnloadingEnabled
-XX:+CMSPermGenSweepingEnabled
-XX:+UnlockExperimentalVMOptions

-XX:+AggressiveOpts
-XX:+StringCache
-XX:+UseFastAccessorMethods
-XX:+UseLargePages
-XX:LargePageSizeInBytes=4m
-XX:AllocatePrefetchLines=1
-XX:AllocatePrefetchStyle=1
-Dide.gc=true

这个问题似乎与插件没有关系 - 我已经禁用了我不需要的插件,无论这种配置如何,或者是否在启动时选择了所有插件,只需要1秒即可加载插件。

我正在使用Zend Studio插件运行Eclipse 3.6.1 Cocoa x64 build(vanilla)。该机拥有4GB内存,可用空间超过64%的SSD,1.6GHz(4MB二级高速缓存)。操作系统是Mac OS X 10.6.6,最新的Java,1.6。

为了进行比较,我的桌面,一个带有7200RPM驱动器的老式P4 3GHZ(512K二级高速缓存),在40%可用空间下,Eclipse(相同配置)在7秒内一直加载。请注意,这是一台Windows机器,安装了最新的Java。

1 个答案:

答案 0 :(得分:0)

您使用的是64位版本。尝试使用32位版本。

相关问题