MEMCHECK VHM report sample scenario

In this example, the MEMCHECK VHM tool is used by specifying the environment variables from the z/OS UNIX shell. The user specifies a depth of 8 call levels in the Heap Leak Report and 8 call levels in the Trace Report for 31-bit.

  1. Specifies the depth to trace on storage requests (written to the Heap Leak Report):
    Export _CEE_MEMCHECK_DEPTH=8
  2. Activates the Trace Report option:
    Export _CEE_MEMCHECK_TRACE=ON
  3. Specifies the depth to trace on storage requests (written to the Trace Report):
    Export _CEE_MEMTRACE_DEPTH=8
  4. Activates the Overlay analysis option:
    Export _CEE_MEMCHECK_OVERLAY=ON
  5. Activates the tool with the 31-bit DLL (automatically generating the Heap Leak Report):
    Export _CEE_HEAP_MANAGER=CEL4MCHK