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

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

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
Community showcase
Published Monday in Jira Ops

Jira Ops Early Access Program Update #1: Announcing our next feature and a new integration

Thanks for signing up for Jira Ops! I’m Matt Ryall, leader for the Jira Ops product team at Atlassian. Since this is a brand new product, we’ll be delivering improvements quickly and sharing updates...

541 views 0 9
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you