Metaspace capacity full in PCF hosted application with APM Java agent
search cancel

Metaspace capacity full in PCF hosted application with APM Java agent

book

Article ID: 383600

calendar_today

Updated On:

Products

DX APM SaaS DX Application Performance Management CA Application Performance Management (APM / Wily / Introscope)

Issue/Introduction

An application hosted in PCF is failing due to the metaspace capacity reaching its limit wen DXAPM agent is enabled. The application functions normally without the DXAPM agent.

 

Environment

APM Agent Version : 2023.3.0.4 (Build 990004)

Cause

The problem is related to defect # DE620718 - metaspace memory issue with class redefinition/retransformation 

Resolution

The fix is targeted as part of APM SaaS 25.2 release (Feb 2025)

Current Workaround:

Disable the below settings in the Agent profile:

introscope.agent.deep.entrypoint.enabled=false
introscope.agent.automatic.backend.detection.enabled=false
introscope.agent.deep.instrumentation.visibility.processor.enabled=false

Additional Information