DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Help Me Find My Memory Leak  (Read 6,932 times)

tinjaw

  • I'm so glad breakbeat techno isn't an illegal drug
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,927
    • Participated in NANY Challenge Twice
    • Coding Snacks
    • Military Service Badge - US Army
    • Linux User
Help Me Find My Memory Leak
« on: September 26, 2007, 03:46 PM »
I want to find the memory leak that plagues my laptop. Explorer.exe will grow to nearly 1GB. I am almost positive it is a shell extension, but I don't know how to determine which one it is except to selectively turn them on and off. Using Sysinternals/Microsoft Autoruns I can see which shell extensions are loaded and I can selectively turn them on and off.

However, I know there are several gurus around here than love the low level stuff and would like to solicit their advice on how I should go about going all CSI on this thing.

How do I find out what is leaking? Is there some trick I can use via OllyDbg? Show me the way to enlightenment.

Lashiec

  • Member
  • Joined in 2006
  • **
  • Posts: 2,374
Re: Help Me Find My Memory Leak
« Reply #1 on: September 26, 2007, 05:38 PM »
OK, I'll try my hand at this one. A tool that its developer claims it's useful for this work is HeapMemView. Give it a try. And I suppose you can use Process Explorer in combination with Process Monitor to pinpoint the possible culprit, using the performance graph of Process Explorer (it logs "Private Bytes" history, along with a timeline) and Process Monitor to trace the app(s) working at that point time (and what are they doing). Process Monitor also has "Boot Logging", but that one could be a nightmare to filter...

If it is a shell extension, it had to be leaking like mad. Well, I hope this can help, at least until f0dder comes along ;D

Cpilot

  • Charter Honorary Member
  • Joined in 2006
  • ***
  • Posts: 293
    • Coding Snacks
Re: Help Me Find My Memory Leak
« Reply #2 on: September 26, 2007, 05:57 PM »
Easy Detection of Memory Leaks
You'll have to register to download the project.

Original address: https://www.donationcoder.com/forum/index.php?topic=10140.0