There
are many ways to increase the application heap size in Eclipse.
Previous
Next
Home
a.
Launching
Eclipse by passing the heap size
b.
Configuring
heap size in eclipse.ini file
c.
Updating
vm arguments of installed jre
Launching Eclipse by
passing the heap size
eclipse
[normal arguments] -vmargs -Xmx512M [more VM args]
Above
command launch the eclipse with heap size of 512MB.
Configuring heap size
in eclipse.ini file
You
can configure the heap size in ‘eclipse.ini’ file.
Here
is an example.
-startup plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar --launcher.library plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.300.v20150602-1417 -product org.eclipse.epp.package.jee.product --launcher.defaultAction openFile --launcher.XXMaxPermSize 256M -showsplash org.eclipse.platform --launcher.XXMaxPermSize 256m --launcher.defaultAction openFile --launcher.appendVmargs -vmargs -Dosgi.requiredJavaVersion=1.7 -Xms256m -Xmx1024m
Updating vm arguments
of installed jre
Open
Eclipse. Window -> Preferences
Select
the installed jre and click on Edit button
Add
the vm arguments and click on the button Finish.
You may like
No comments:
Post a Comment