|
|
我使用的是3.2RC(3.2.M5也有相同的问题),通过图形界面的菜单快捷方式启动时eclipse竟然用了100-200M的内存,而在字符终端界面下启动则占20-40M左右,不知道是什么原因?
我用-debug调试启动用下面的参数:
图形界面下启动:
- Start VM: /usr/bin/java
- -Xms40m
- -Xmx256m
- -jar /usr/mypro/eclipse3.2RC/eclipse/startup.jar
- -os linux
- -ws gtk
- -arch x86
- -launcher /usr/mypro/eclipse3.2RC/eclipse/eclipse
- -name Eclipse
- -showsplash 600
- -exitdata 1a0010
- -debug
- -vm /usr/bin/java
- -vmargs
- -Xms40m
- -Xmx256m
- -jar /usr/mypro/eclipse3.2RC/eclipse/startup.jar
- Install location:
- file:/usr/mypro/eclipse3.2RC/eclipse/
- Configuration file:
- file:/usr/mypro/eclipse3.2RC/eclipse/configuration/config.ini loaded
- Configuration location:
- file:/usr/mypro/eclipse3.2RC/eclipse/configuration/
- Configuration file:
- file:/usr/mypro/eclipse3.2RC/eclipse/configuration/config.ini loaded
- Shared configuration location:
- file:/usr/mypro/eclipse3.2RC/eclipse/configuration/
- Framework located:
- file:/usr/mypro/eclipse3.2RC/eclipse/plugins/org.eclipse.osgi_3.2.0.v20060413-1200.jar
- Framework classpath:
- file:/usr/mypro/eclipse3.2RC/eclipse/plugins/org.eclipse.osgi_3.2.0.v20060413-1200.jar
- Splash location:
- /usr/mypro/eclipse3.2RC/eclipse/plugins/org.eclipse.platform_3.2.0.v20060413-1200/splash.bmp
- runCommand:
- </usr/mypro/eclipse3.2RC/eclipse/eclipse><-name><Eclipse><-showsplash><600></usr/mypro/eclipse3.2RC/eclipse/plugins/org.eclipse.platform_3.2.0.v20060413-1200/splash.bmp>
- Debug options:
- file:/home/sxhong/.options not found
- Time to load bundles: 13
- Starting application: 7626
- Application Started: 48674
复制代码 ]
字符终端下启动:
- Start VM: /usr/lib/j2sdk1.5-sun/bin/java
- -Xms40m
- -Xmx256m
- -jar /usr/mypro/eclipse3.2RC/eclipse/startup.jar
- -os linux
- -ws gtk
- -arch x86
- -launcher /usr/mypro/eclipse3.2RC/eclipse/eclipse
- -name Eclipse
- -showsplash 600
- -exitdata 1d0012
- -debug
- -vm /usr/lib/j2sdk1.5-sun/bin/java
- -vmargs
- -Xms40m
- -Xmx256m
- -jar /usr/mypro/eclipse3.2RC/eclipse/startup.jar
- Install location:
- file:/usr/mypro/eclipse3.2RC/eclipse/
- Configuration file:
- file:/usr/mypro/eclipse3.2RC/eclipse/configuration/config.ini loaded
- Configuration location:
- file:/usr/mypro/eclipse3.2RC/eclipse/configuration/
- Framework located:
- file:/usr/mypro/eclipse3.2RC/eclipse/plugins/org.eclipse.osgi_3.2.0.v20060413-1200.jar
- Framework classpath:
- file:/usr/mypro/eclipse3.2RC/eclipse/plugins/org.eclipse.osgi_3.2.0.v20060413-1200.jar
- Splash location:
- /usr/mypro/eclipse3.2RC/eclipse/plugins/org.eclipse.platform_3.2.0.v20060413-1200/splash.bmp
- runCommand:
- </usr/mypro/eclipse3.2RC/eclipse/eclipse><-name><Eclipse><-showsplash><600></usr/mypro/eclipse3.2RC/eclipse/plugins/org.eclipse.platform_3.2.0.v20060413-1200/splash.bmp>
- Debug options:
- file:/usr/mypro/eclipse3.2RC/.options not found
- Time to load bundles: 16
- Starting application: 6112
- Application Started: 25651
复制代码
图形界面下启动时多了几行:
Configuration file:
file:/usr/mypro/eclipse3.2RC/eclipse/configuration/config.ini loaded
Shared configuration location:
file:/usr/mypro/eclipse3.2RC/eclipse/configuratio:help n/
是不是因为加载了两次config.ini从而使得插件的数量增加.
希望高手能够帮忙解决这个问题!
注:插件是使用links的方式安装. |
|