To increase the maximum amount of heap memory used Eclipse, edit the eclipse.ini
file located in the Eclipse installation directory.
This file specifies options for the startup of Eclipse, such as which JVM to use, and the options for the JVM. Specifically, you need to edit the value of the -Xmx
JVM option (or create one if it does not exist).
Below is an example configuration that sets a maximum heap memory of 1 GB (1024m). The relevant line is -Xmx1024m
- this would replace the existing -Xmx*
line in your confiugration:
-startup
plugins/org.eclipse.equinox.launcher_1.3.200.v20160318-1642.jar
--launcher.library
C:/Users/user1/.p2/pool/plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.400.v20160518-1444
-product
org.eclipse.epp.package.java.product
--launcher.defaultAction
openFile
-showsplash
org.eclipse.platform
--launcher.appendVmargs
-vmargs
-Xms256m
-Xmx1024m