100% Correct memory leak analysis tool--------Tmemmonitor (TMM)

Source: Internet
Author: User

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)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.