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 file


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:

All the best,

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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,308 views 14 20
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot