CodeCache 2% free - JIRA v5.1.1

We are running JIRA v5.1.1. Yesterday we had to restart our instance due to a PermGen Out of Memeory issue (we increased it to 512). Today the CodeCache is almost full (2% free). Has anyone run into issues with CodeCache?

I am looking at setting the following in the setenv.sh file

-XX:+UseCodeCacheFlushing

Is this the right way to go?

2 answers

1 accepted

This widget could not be displayed.

Hi JT,

I have actually hit this issue recently whilst investigating a customer's instance and the UseCodeCacheFlushing argument is the way to go. However, please check out this blog which discusses this issue and eventually helped me to assit the customer with their issue: http://blogs.atlassian.com/2012/05/codecache-is-full-compiler-has-been-disabled/

All the best,
John

Thanks John.

I found the blog after posting the question.

I appreciate the quick response and verification.

This widget could not be displayed.

I had exactly the same problem yesterday
Here are the messages in the log

Java HotSpot(TM) 64-Bit Server VM warning: CodeCache is full. Compiler has been disabled. 
Java HotSpot(TM) 64-Bit Server VM warning: Try increasing the code cache size using -XX:ReservedCodeCacheSize=

Does somebody know the source in Jira of so much bytecode creation ?
It's the first time for more than 40 running application that I need to turn on this JVM Flag...

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

131 views 2 0
Join discussion

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