How do I look for Memory leaks

  • Thread starter Thread starter Troy
  • Start date Start date
T

Troy

How do I look for memory leaks and then how do I correct this problem?

I am running Win XP home edition.

Thanks

Troy
 
Troy said:
How do I look for memory leaks and then how do I correct this problem?

I am running Win XP home edition.

Bring up Task Manager, click on the "Performance"
tab, and check for decreasing "Available" Physical Memory.

How do you correct it? Single out the offending
program, and maybe someone here will be able
to give you some tips.

-- Bob Day
 
Looks like

svchost.exe has 19,252 K

msimn.exe has 16,288 K

explorer.exe has 23,700 k

Then a bunch of small users, System Idle Process is 20K

Anyone tell me what the the memory usage should be?

Thanks Troy
 
A memory leak is when a program obtains some memory from the system for a
purpose, does what it is supposed to do and then instead of releasing that
memory back to the system keeps all or part of it. Each time that purpose is
performed again system memory is lost or leaked. The key is not how much is
used but that the usage keeps climbing. With modern compilers for generating
programs the problem has mostly gone away, in addition with the large memory
spaces available it takes a lot longer for a small leak to bring down a
system.

What symptoms are you having that leads you to think one of your programs
has a memory leak?

Michael
 
Back
Top