FAQ How does I increase the heap size available to Eclipse?

Source: Internet
Author: User

(Redirected from FAQ How does I increase the heap size available to Eclipse)

Some JVMs put restrictions on the total amount of memory available on the heap. If you is getting OutOfMemoryErrors while running Eclipse, the VM can is told to let the heap grow to a larger a Mount by passing the -vmargs command to the Eclipse launcher. For example, the following command would run Eclipse with a heap size of 256MB:

Eclipse [Normal arguments]-vmargs-xmx256m [more VM args]

The arguments after -vmargs is directly passed to the VM. Run java-x for the list of options your VM accepts. Options starting with- x is implementation-specific and May is applicable to all VMs.

You can also put the extra options in eclipse.ini .

Here are an example;

-startupplugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar--launcher.libraryplugins/ org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200. v20120913-144807-showsplashorg.eclipse.platform--launcher.xxmaxpermsize256m--launcher.defaultactionopenfile-vmargs-xms512m

  

-xmx1024m-xx:+useparallelgc-xx:permsize=256m-xx:maxpermsize=512m

FAQ How does I increase the heap size available to Eclipse?

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.