The arguments after <tt>-vmargs</tt> are directly passed to the VM. Run <tt>java -X</tt> for the list of options your VM accepts. Options starting with <tt>-X</tt> are implementation-specific and may not be applicable to all VMs.

The arguments after <tt>-vmargs</tt> are directly passed to the VM. Run <tt>java -X</tt> for the list of options your VM accepts. Options starting with <tt>-X</tt> are implementation-specific and may not be applicable to all VMs.

−

You can also put the extra options in <code>eclipse.ini</code>.

+

You can also put the extra options in <code>[[eclipse.ini]]</code>.

== See Also: ==

== See Also: ==

Revision as of 12:01, 28 February 2007

If you see java.lang.OutOfMemoryError: PermGen space errors, you need to increase the permanent generation space available to Eclipse.

PermGen is the permanent generation of objects in the VM (Class names, internalized strings, objects that will never get garbage-collected). An easy, if somewhat memory-hungry fix is to enlarge the maximum space for these objects by adding

The arguments after -vmargs are directly passed to the VM. Run java -X for the list of options your VM accepts. Options starting with -X are implementation-specific and may not be applicable to all VMs.