My project is very big. If i use MallocDebug, it's very slow.
------------------------------------------------
Reason:
MallocDebug does not require prior instrumentation of the program—that is, you don’t need to link with special libraries or call special functions. Instead, MallocDebug launches your application using its own instrumented version of the malloc library calls.
-----------------------------------------------
I think the runtime solution caused slow. So. i need a prior instrumentation to link. YAMD and Valgrid are prior instrumentation.