Debugging Dynamic Memory Usage Errors Using HP WDB (5900-1474; WDB 6.2; January 2011)

Following is the syntax for using LD_PRELOAD_ONCE:
LD_PRELOAD_ONCE= /opt/langtools/lib/librtc.sl
Example 16 (page 70) illustrates the batch mode debugging of the memtest.c program.
The debugging results are stored in memtest.8494.mem, memtest.8494.heap, and
memtest.8494.leaks.
Supported Modes of Memory-debugging in WDB 69