id summary reporter owner description type status priority milestone component version resolution keywords cc 66 Tracing memory allocation li@… "Recently, we have many problems related to improper memory usage, such as memory leak (ticket #13,#14,#18,#19,#65), excessive memory allocation (ticket #57), too many times of memory allocation (ticket #21). To ease the detection of memory problems, a memory tracing tool is proposed. A patch based on revision 176 is attached (most of revisions are replacement of conventional memory allocation functions with new macros). The features of the tool are as follows. 1, Log of memory leak (file and line). 2, Log of memory usage (how much memory is allocated and times of memory allocation) during encoding/decoding. 3, Log of memory usage of each cpp/h file. 4, Print out the memory usage information during encoding/decoding. Further features can be easily added if necessary. With the memory log information, any memory leak or improper memory usage can be easily noticed by algorithm proponents and software coordinators. The tool is easy to use. After including tool_tracemem.cpp and tool_tracemem.h into source/Lib/TLibCommon, what you have to do is using new macro MEMNEW/MEMDELETE to replace the conventional new/delete. " enhancement closed minor HM wontfix fbossen ksuehring davidf jct-vc@…