search cancel

WebLogic OSB memory leak with APM Java agent enabled

book

Article ID: 202033

calendar_today

Updated On:

Products

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

Issue/Introduction

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.

Environment

Release : 10.7.0

Component : APM Agents

Oracle Service Bus : 12.2.1.3

Java version : 1.8.0_202

Resolution

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