Question Locked

memory leak

0 helpful
10 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
How do you find a memory leak and how do you stop the leak?

10 replies

by cmiller5400

That way we can help you even less!

Sheesh... What program are you running that you think has a memory leak? What OS are you running?

Most likely it would be up to the vendor to fix it, unless you are the vendor... in that case what is the program so that I never buy it?

by cmiller5400

What ever happened to the variety shows?? I can't stand most of the crap that is on there these days. I do like the "Dancing with the Stars" and "American Idol" stuff. I do find the reality shows like "Rookies", "Parking Wars" are worth watching, "Parking Wars" is worth a good laugh or two usually.

by jdclyde

Didn't appeal to me before it was made clear that it was staged reality, and after that, was just insulting to the viewer (as I saw it).

If people enjoy it, (which obviously a lot do) that is fine by me.

Reno911, dirty jobs, south park, and myth busters are about the only thing I would sit through anymore. Future weapons is cool too.

by ---tk---

This is taken from Windows 2000 Performance Runing and Optimization
Use the System Monitor to watch every counter in the Memory object - particularly
Pool Non-paged Allocs
Pool Nonpaged Bytes
Pool Paged Allocs
Pool Paged Bytes
System Code Total Bytes
System Driver Total Bytes

Under the process object, click the:
Handle Count
Pool Nonpaged Bytes
Pool Paged Bytes
Private Bytes

If a memory leak exists one or more of these counters will continually rise because memory is not being returned.

Also monitor these: Objects:Threads and Objects:Sections - threads is No of active threads, and Section is an area of virtual memory. Both will increase if there is a leak.

This process will help you identify the presence of a memory leak.

http://support.microsoft.com/default.aspx?scid=kb;en-us;325558

http://support.microsoft.com/?kbid=130926

http://support.microsoft.com/kb/825237/en-us

They are links for 2000, but they work in XP and server 03 also...

by tony hopkinson

you could run the code through a profile analysis tool.

Useful stuff the above, but very indirect.

by tony hopkinson

under the machine, you'll see a binary dribble coming out of the case. Follow it back to the source.

Maybe we can answer your question, but first mine. How long is a piece of string?

Memory leak from what, doing what, with what and how to stop it depends on what's leaking from where and when.

by older mycroft

If you feel a warm dribble running down your neck - seek medical assistance. :D

This discussion is closed to new replies.