`

eclipse.ini 的設定

阅读更多

wiki上的說明:http://wiki.eclipse.org/Eclipse.ini

  1. Each option and each argument to an option must be on its own line.
  2. All lines after -vmargs are passed as arguments to the JVM, so all arguments and options for eclipse must be specified before -vmargs (just like when you use arguments on the command-line)

 

另外,為eclipse設置它使用的JVM才是我這次的目地:

-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
-vm
C:\Java\JDK\1.5\bin\javaw.exe
-vmargs
-Xms40m
-Xmx512m
 

注意!-vm得在-vmargs之前,表示它不是給JVM的參數!

 

 

別人的設定:

-vmargs
-Xms128m
-Xmx512m
-XX:MaxPermSize=128m
-XX:+UseParallelGC --> 支援多核CPU的指令,單核的免加這行啦
-Dcom.sun.management.jmxremote

 

分享到:
评论
1 楼 rovige 2010-08-11  
-vmargs
-Xms128m
-Xmx512m
-XX:MaxPermSize=128m
-XX:+UseParallelGC --> 支援多核CPU的指令,單核的免加這行啦
-Dcom.sun.management.jmxremote

对于多个CPU,eclipse能有什么作用呢?

相关推荐

Global site tag (gtag.js) - Google Analytics