Appdynamics Agent connection causing memory leak in Java applications

1.6k views Asked by At

We're using Appdynamics Java agent for monitoring our production applications. We have noticed slow growth in memory and the application eventually stalls. We ran a head dump on one of the JVMs and got the below reports.

Problem Suspect 1: The thread com.singularity.ee.agent.appagent.kernel.config.xml.a@ 0x1267...... AD thread config Poller keeps local variable config size of 28546.79(15.89%) KB

Problem Suspect 2: 280561 Instances of com.singularity.ee.agent.appagent.services.transactionmonitor.com.exitcall.p loaded by com.singularity.ee.agent.appagent.kernel.classloader.d@ 0x6c000.... occupy 503413.3(28.05%) KB. These instances are referenced from one instance of java.util.HashMap$Node[]...

We figured that these classes were from the Appdynamics APM that hooks on to the running JVM and sends monitored events to the controller. There is so much convoluted process associated with reaching out to the vendor, so I am wondering if there are any work arounds for this like we enabling our java apps with JMX and Appd getting the monitoring events from JMX rather than directly hooking on to the applications' JVM. Thanks for your suggestions.

0

There are 0 answers