LoginSignup
12
14

More than 5 years have passed since last update.

eclipseのメモリを増やしたい

Posted at

経緯

デフォルトではメモリの割り当てが少ないので、増やす。

eclipse.iniを編集。

eclipse.ini
-startup
plugins/org.eclipse.equinox.launcher_1.4.0.v20161219-1356.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.551.v20171108-1834
-product
org.eclipse.epp.package.php.product
-showsplash
org.eclipse.epp.package.common
--launcher.defaultAction
openFile
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.8
-Dosgi.instance.area.default=@user.home/eclipse-workspace
-XX:+UseG1GC
-XX:+UseStringDeduplication
--add-modules=ALL-SYSTEM
-Dosgi.requiredJavaVersion=1.8
-Xms256m  ★ココと
-Xmx1024m ★ココ
--add-modules=ALL-SYSTEM
-Xverify:none
-javaagent:plugins/jp.sourceforge.mergedoc.pleiades/pleiades.jar
  • -Xms:起動時のヒープサイズ
  • -Xmx:最大ヒープサイズ

この二つの値を大きくする。でも大きくしすぎると起動しなくなっちゃう模様。

おわり

参考:[Java開発]eclipse.iniファイルのメモリ設定 | KENスクールブログ

12
14
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
12
14