cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Not a customer? Start a free trial

Click the Start a free trial link to start a 15-day SaaS trial of our product and join our community as a trial user. If you are an existing customer do not start a free trial.

AppDynamics customers and established members should click the sign in button to authenticate.

Java (Java Agent, Installation, JVM, and Controller Installation)

code cache reporting in red

David.Shapiro
Creator

code cache reporting in red

Morning,

 

If you see code cache in red (80%),what java options do you use to correct/help this? If not, why not?

Tags (3)
By replying you agree to the Terms and Conditions of the AppDynamics Community.
code cache reporting in red
1 REPLY 1
David.Shapiro
Creator

No help listed is right!  I found this article that does a fantastic job describing some options for this:

 

https://www.atlassian.com/blog/archives/codecache-is-full-compiler-has-been-disabled

 

It was a little unclear if you should just use this option without the ReservedCodeCacheSize increase:

-XX:+UseCodeCacheFlushing

However, determining this would require some experimenting.  You could add the flushing option and watch it over time, or go the lazy route and increase the size and add the flushing.

 

See -XX:ReservedCodeCacheSize=