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 vote

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Confluence

Color tables for a shiny Confluence page

...; ## Developed by: Alana Fernando ## Shared with love ## @param style:title=style type|type=enum|required=true|desc=Choose a style.|enumValues=Style1,Style2,Style3,Style4,Style5 ## @param alignment:title...

143 views 8 11
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