My Oracle Support Banner

How to Take Heap Dumps for Agile PLM? (Doc ID 1305792.1)

Last updated on OCTOBER 21, 2024

Applies to:

Oracle Agile PLM Framework - Version 9.2.2.0 and later
Information in this document applies to any platform.

Goal

The JVM (Java Virtual Machine) shares/allocates heap memory among all JVM threads. A Heap is the runtime data area where Java Class instances and arrays reside in. Once JVM start-ups (Agile PLM start-up), the Heap storage will be claimed and reclaimed by Garbage Collector automatically. So a Heap Dump is a reflection of current Java Heap memory allocation, telling us how much memory is consumed by each Java Class instance or variable. We collect Heap Dump when we see the OutOfMemory error, or notice the memory usage on Agile Application Server goes higher and higher.
 
There are two ways to output the Heap Dump data (how the memory is allocated to Java objects), the event of OutOfMemoryError and Manual trigger, like the Ctrl+Break on the command console where the Java application runs.

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
 OutOfMemory Event
 Oracle Application Server
 Oracle Weblogic Server
 Manual Trigger Event
 -XX:+HeapDumpOnCtrlBreak (Not preferred)
 JMAP
 For Oracle Weblogic Server, modify startAgile(Cluster).sh/cmd:
 Syntax to jmap 

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.