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