-Xcheck:memory option
The -Xcheck:memory option can help you identify memory leaks inside the JVM. The -Xcheck:memory option traces the JVM calls to the operating system's malloc() and free() functions, and identifies any JVM mistakes in memory allocation.
For more information about the -Xcheck:memory option, see -Xcheck:memory in the OpenJ9 user documentation.