hprof file configuration settings
search cancel

hprof file configuration settings

book

Article ID: 195186

calendar_today

Updated On: 10-12-2023

Products

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

Issue/Introduction

For some reason hprof files are created from time to time on the APM log directory.
We would like to disable that option. Where can we find the configuration settings for this?

Environment

Release : 10.5

Component : APMISP

Resolution

Following parameters has been added to create the dump file.

/Introscope_Enterprise_Manager.lax
lax.nl.java.option.additional=....-XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=./logs/ ....

You can remove the two parameters: -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=./logs/

/bin/EMService.conf.
wrapper.java.additional.4=-XX:+HeapDumpOnOutOfMemoryError
wrapper.java.additional.5=-XX:HeapDumpPath=./logs/

You can remove the two parameters above:
#wrapper.java.additional.4=-XX:+HeapDumpOnOutOfMemoryError
#wrapper.java.additional.5=-XX:HeapDumpPath=./logs/

Stop and start the APM EM.