Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,298,120
Community Members
 
Community Events
165
Community Groups

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
TAGS
Community showcase
Published in Confluence

An update on Confluence Cloud customer feedback – June 2022

Hi everyone, We’re always looking at how to improve Confluence and customer feedback plays an important role in making sure we're investing in the areas that will bring the most value to the most c...

150 views 1 3
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you