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

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.

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
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 Monday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

688 views 6 13
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