Splunk AppDynamics

code cache reporting in red

CommunityUser
Splunk Employee
Splunk Employee

Morning,

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

Labels (1)
Tags (3)
0 Karma
1 Solution

CommunityUser
Splunk Employee
Splunk Employee

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=

View solution in original post

CommunityUser
Splunk Employee
Splunk Employee

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=

Get Updates on the Splunk Community!

Fueling your curiosity with new Splunk ILT and eLearning courses

At Splunk Education, we’re driven by curiosity—both ours and yours! That’s why we’re committed to delivering ...

Splunk AI Assistant for SPL 1.1.0 | Now Personalized to Your Environment for Greater ...

Splunk AI Assistant for SPL has transformed how users interact with Splunk, making it easier than ever to ...

Unleash Unified Security and Observability with Splunk Cloud Platform

     Now Available on Microsoft AzureOn Demand Now Step boldly into the AI revolution with enhanced security ...