wiki上的說明:http://wiki.eclipse.org/Eclipse.ini
- Each option and each argument to an option must be on its own line.
- 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