Skip to content
This repository was archived by the owner on Jan 23, 2024. It is now read-only.

Eclipse Increase Heap Size

pfankhauser edited this page Oct 2, 2014 · 1 revision

Adapted from the PCL Documentation.

sudo gedit /usr/lib/eclipse/eclipse.ini

Change the values in the last lines:

org.eclipse.platform
--launcher.XXMaxPermSize
1024m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.7
-XX:MaxPermSize=512m
-Xms1024m
-Xmx1024m

Restart Eclipse and go to Windows > Preferences, then C/C++ > Indexer > Cache Limits. Set the limits to [50% | 512 | 512].

If the eclipse.ini file is at a different location, you can find it as follows (source):

  • Open Eclipse as you normally do.
  • Click Help -> About Eclipse
  • Click Installation Details
  • Go to the Configuration tab
  • Find eclipse.home.location=file:PATH. PATH is where the eclipse.ini is installed.
Clone this wiki locally