Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

The system crash and appear error "java.lang.OutOfMemoryError: PermGen space"

Harold Fritz
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 2, 2011

I installed the wrapper for Windows Server, to allow run FishEye as Service.

I has been configured the wrapper.conf with many parameters to memory, but it work for a quite time then the system crash.

My current configuration for memory is:

wrapper.java.additional.11=-Xms512m

wrapper.java.additional.12=-Xmx4096m

wrapper.java.additional.13=-XX:MaxNewSize=512m

wrapper.java.additional.14=-XX:MaxPermSize=4096m

I has tested with many other memory size, from -Xms128m to current -Xms512m.

1 answer

0 votes
Felipe Kraemer
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 14, 2011

Hi, Harold.

According to this document, -Xms and -Xmx should be configured in these parameters:

# Initial Java Heap Size (in MB)
wrapper.java.initmemory=512

# Maximum Java Heap Size (in MB)
wrapper.java.maxmemory=4096

Could you please try the above as well as this:

wrapper.java.additional.11=-XX:MaxNewSize=512m
wrapper.java.additional.12=-XX:MaxPermSize=4096m

(Note that what you had in the additional parameters 13 and 14 are now in parameters 11 and 12, respectively).

Please let us know how it goes...

Cheers,
Felipe Kraemer
Atlassian Support

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events