How to detect and remove memory leak?



Hi Friends,
I'm using some APIs to create registry keys, then report some events
to windows event viewer.Now my program runs from command prompt, there is no
UI (no dialogs).And it is programmed to log events unless terminated
exclusively.
but my program seems to have memory leaks. That I've got from Task Manager.
How to detect these memory leaks?
I've heard of some profilers which reports where is the error. Have downloaded
AQTime. But don't have time to go through it.

Can somebody help me how to find which function/module is dumping the memory?
I need a simple tool, easy to configure and should point out where the problem
is....

Thanks & Regards,
Sachin M
.



Relevant Pages

  • Urgent: How to find memory leaks? -- profiler???
    ... I'm using some APIs to create registry keys, then report some events ... to windows event viewer.Now my program runs from command prompt, ... but my program seems to have memory leaks. ...
    (microsoft.public.vb.winapi)
  • Re: Fastcode MM memory usage
    ... Good suggestion. ... {Set this option to enable reporting of memory leaks. ... {Set this option to require the presence of the Delphi IDE to report memory ... This option has no effect if the option "EnableMemoryLeakReporting" ...
    (borland.public.delphi.language.basm)
  • Re: dll trouble - final status
    ... | Just to give you a final report. ... | I am giving up the idea of connecting fortran and VB, ... | W98 is rather slow, but I am seriously thinking to replace XP with W98 on ... FPS4 is notorious for memory leaks. ...
    (comp.lang.fortran)
  • Re: How to detect and remove memory leak?
    ... > I'm using some APIs to create registry keys, then report some events ... > but my program seems to have memory leaks. ... Destroy>every< GDI object you have created unless the MSDN ... global variables are the reason for the developer to have lost control of ...
    (microsoft.public.vb.winapi)
  • Re: Pagefile.sys MISSING!
    ... reports are correct (and I have no reason to doubt that they ... > 5) cacls: MyFile.txt displays the following information: ... >> f) What happens when you type these commands at the Command Prompt: ... >> Please report all screen output. ...
    (microsoft.public.windowsxp.general)

Quantcast