C + +due to the flexibility,The advantage of efficiency has always been one of the mainstream programming languages, but the allocation and release of its memory are managed by the programmer himself, whenA program fails to release memory that is no longer used due to negligence or errorwill cause a memory leak when. in large, complex applications, memory leaksoftenis amostCommon Problems, so it is necessary to resolve memory leaks in a timely manner. tmemmonitor (TMM)as a professional,Accurate,easy-to-use memory leak analysis tool that can helpHelpC + +programmers quickly solve the headache of memory leaks.
TMM:
A Development background
There are already some on the marketWindowsdynamic memory leak detection tools under the platform, such asUMDH,VLD,Purify,Boundscheckand so on, wherePurify and boundscheck is expensive commercial software,UMDHneed tomanually fetching memory snapshots, the operating threshold is higher,VLDyou need to modify the code of the source program, and there are false positives in these tools, so the accuracy is not high. ForWindows Platform, C + +Programmerurgent need for a professional, accurate, easy-to-use memoryLeak analysis Tools.
Two TMM Introduction
The TMM is a run-time C + + memory leak Detection tool. TMM Thinkwhen the process exits,a block of non-primary memory that is not disposed in heap memory and is not pointed to by a pointerthatfor memory leaks, and thenintroduction of Garbage backreceived(GC, Garbage Collection)mechanism that is checked when the process exitsmeasuredHeap in memoryAllNowasthe referenced memory unit,thusMemory LeaksDetectionAccurateRate of100%.
The TMM tool consists of two main parts, the first part is aclient-side detectioninterface,The client part mainlyresponsible formonitors memory behavior in the target process and calculates memory leaks. detection as long as it will be detectedprogram added toMonitoringin the listAnd then run the checked program normallycan be,The following is the client interface:
650) this.width=650; "Width=" 554 "height=" 317 "src="/e/u261/themes/default/images/spacer.gif "style=" Background:url ("/e/u261/lang/zh-cn/images/localimage.png") no-repeat center;border:1px solid #ddd; "alt=" Spacer.gif "/>
100% Correct memory leak analysis tool--------Tmemmonitor (TMM)