Custom Memory Structures for Java
This page describes how to monitor custom memory structures for Java.
Splunk AppDynamics automatically tracks long-lived Java collections (HashMap, ArrayList, and so on) with Automatic Leak Detection. To track specific classes, you can use the Custom Memory Structures capability in the Controller UI.
You can use this capability to monitor a custom cache or other structure that is not a Java collection. For example, you may have a custom cache or a third-party cache such as Ehcache. In a distributed environment, caching can easily become a prime source of memory leaks. In addition, custom memory structures may or may not contain collections of objects that would be tracked using automatic leak detection.
- To activate or deactivate object instance tracking, you need the Configure Agent Properties permission.
- To configure the custom classes to track, you need the Configure Memory Monitoring permission. See Manage Custom Roles for Cisco AppDynamics.