The content in this section is not relevant for China (Shanghai) and Government Cloud (US) regions.
Java Memory Assistant is a Java agent that generates heap dumps based on preconfigured conditions in the memory usage of the application. See: Java Memory Assistant
This public repository went out of maintenance on Sept 21, 2023. Nevertheless, its latest version 0.5.0 is working fine so you can keep using it.
When enabled in the buildpack, the agent generates two files – *.hprof (heap dump) and *.addons, when the configured memory limits are met.
The *.addons file contains:
-
Command-line parameters
-
Implemented interfaces for the classes
-
Information (name) about transient fields for the classes
-
Class and metaspace statistics
-
Stack traces of the last OOM errors
See also: Java Memory Assistant Framework