Instead of using malloc / free / operator new / operator delete, redirect all memory allocations to a custom memory allocator. In case of ArmA 2 and derived games this is done by placing the Man@log.dll in the dll directory of the game and using command line -malloc=man@log
.
-malloc=man@log
Man@lyzer.exe -dump
-no-stats Dump only events, no statistics
To turn [Memory Overrun Detection] on, rename man@log.dll to man@log-check.dll or other name based on which detection options you want to use (multicall binary) and adjust the command-line launching the application accordingly. Then use the Man@lyzer as described in the Analyze a live application section.