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

Accepted Answer
0 votes

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
Community showcase
Posted Sep 25, 2018 in Jira

Atlassian Research Workshop opportunity on Sep. 28th in Austin, TX

We're looking for participants for a workshop at Atlassian! We need Jira admins who have interesting custom workflows, issue views, or boards. Think you have a story to sha...

422 views 7 5
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