将Eclipse.ini文件作如下设置:
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
-vmargs
-Xverify:none
-XX:PermSize=128M
-Xms256m
-Xmx384m
主要是调整启动初始内存和最大内存大小,速度明显变快。
并且解决了,在JBoss tool和JBoss seam开发环境下经常崩溃的问题。
错误信息信息如下:
!ENTRY org.eclipse.ui 4 0 2008-01-15 13:30:09.437
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.OutOfMemoryError: PermGen space
at java.lang.ClassLoader.defineClass1(Native Method)