Aptana Studio ヘルプ > はじめに > Aptana Studio 基本編 > Updating, Changing or Uninstalling

Setting memory usage configuration

By default, Eclipse allocates a maximum of 256MB of Java heap memory, which is usually enough for most development tasks. However, depending on the JRE that you are running and if you are working with additional plugins and have many files open, you may need to increase your amount of memory. Use the -vmargs command line argument to increase your heap memory, with the <memory size> set to a value greater than 256M

   eclipse -vmargs -Xmx<memory size>

If you are using a Sun VM, you may also need to increase the size of the permanent generation memory, which has a default maximum of 64MB. Use the -XX:MaxPermSize=[memory size] argument to increase the maximum permanent generation size:

   eclipse -vmargs -XX:MaxPermSize=<memory size>

Check your VM documentation to see if this argument is available for your VM.

Note: Setting memory sizes to be larger than the amount of available physical memory on your machine can cause issues with Java that severely degrades your computer's performance.

You can also add this entry to AptanaStudio.ini or eclipse.ini to make the change permanent.

Aptana Studio

   -name
   Aptana
   -vmargs
   -Xms512m
   -Xmx512m
   -XX:PermSize=256m
   -XX:MaxPermSize=256m
   -Djava.awt.headless=true

Eclipse with Studio plugged in

   -showsplash
   org.eclipse.platform
   -vmargs
   -Xms512m
   -Xmx512m
   -XX:PermSize=256m
   -XX:MaxPermSize=256m