PermGen space issue when resolving eclipse startup plugin

Source: Internet
Author: User
PermGen space issue when resolving eclipse startup plugin

Modify the startup parameters to add the following:

-xms256m-xmx512m-xx:permsize=256m-xx:maxpermsize=512m

The example is explained as follows:

-xms128m represents the JVM heap ( heap memory) with a minimum size of 128MB, the initial allocation-xmx512m represents the maximum allowable size of the JVM heap (heap memory) 256MB, on demand. Note: If-XMX is not specified or is specified as small, the application may cause a java.lang.OutOfMemory error from the JVM that is not throwable and cannot be captured with Try...catch.

PermSize and MaxPermSize indicates that the virtual machine allocates memory limits for Java permanently generated objects (permanate generation) such as class objects, method objects, these reflective (reflective) objects. The memory is not included in the heap memory area. -XX:PERMSIZE=64MB minimum size, initial allocation-XX:MAXPERMSIZE=256MB maximum allowable allocation size, on demand too small will cause: Java.lang.OutOfMemoryError:PermGen space The MaxPermSize default value is related to the-server-client option.

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

PermGen space issue when resolving eclipse startup plugin

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.