WebLogic OSB memory leak with APM Java agent enabled
search cancel

WebLogic OSB memory leak with APM Java agent enabled


Article ID: 202033


Updated On:


CA Application Performance Management Agent (APM / Wily / Introscope) CA Application Performance Management (APM / Wily / Introscope) INTROSCOPE DX Application Performance Management


We are observing memory leak in WebLogic OSB when Java agent is enabled. The heap degradation occurs in about 1/2 weeks after the reboot.
We consulted with Oracle support team. After a heap dump and its analysis, Oracle support team said that it was caused by APM Introscope classes.
In particular, the class that they see as culprit is the following one: "com.wily.util.extension.JarExtension$AllPermissionsClassLoader".
This progressive degradation of the heap memory was slow, but after some time, it is notable, and it is apparently happening in every WebLogic OSB instance that we have.


Release : 10.7.0

Component : APM Agents

Oracle Service Bus :

Java version : 1.8.0_202


We can proposed the following workaround.

You can disable the ProxyTracing in osb.pbd
-> TurnOn: ProxyTracing

Example to disable:
In file /<APM-Agent-HOME>/core/config/OSB.pbd
#TurnOn: ProxyTracing