DonationCoder.com Forum

Main Area and Open Discussion => General Software Discussion => Topic started by: Cuffy on January 07, 2008, 09:43 AM

Title: Heap memory view
Post by: Cuffy on January 07, 2008, 09:43 AM
http://www.sofotex.com/HeapMemView-download_L76228.html

Does anyone understand or need this?

 :tellme:

Title: Re: Heap memory view
Post by: housetier on January 07, 2008, 10:48 AM
I particularly like "Filesize: 39" :-)

Other than that, I don't need it but I understand their claims of the capabilities of the program.
Title: Re: Heap memory view
Post by: ChalkTrauma on January 07, 2008, 02:19 PM
I have used it a few times in desperation when hunting down memory allocation problems, especially when I'm pretty sure I have something stepping on a pointer I thought was good ( OUCH !! ).

Here is a pretty good explanation of the heap:

http://en.wikipedia.org/wiki/Dynamic_memory_allocation

NirSoft has a lot or really good utils that can help out when you are in a pinch: HeapMemView, smsniff, GDIView and Regscanner are particularly useful. I actually keep the whole set of NirSoft tools as part of my dev tool set.. :)

Another good tool, along the same lines in a way, is ImageViewer; which lets you peak into your device contexts and image handles and see exactly what is in there. If you are doing any GDI work, it can really come in handy:

http://www.codeproject.com/KB/applications/imageviewer.aspx  :Thmbsup:

 
Title: Re: Heap memory view
Post by: f0dder on January 07, 2008, 06:44 PM
You really ought to compile your debug builds of larger systems with a heap allocation debugging library... better than using external tools or doing post-mortem analysis.
Title: Re: Heap memory view
Post by: ChalkTrauma on January 07, 2008, 08:45 PM
For large systems I usually use Paul Nettle's memory manager in debug builds. I have only used HeapMemView on smaller projects in the rare situation where I'm seeing problems in release builds and not in debug builds, but I agree with you, doing things post-mortem is kind of like locking the stable door after the horse has bolted  :D
Title: Re: Heap memory view
Post by: f0dder on January 08, 2008, 07:12 AM
For large systems I usually use Paul Nettle's memory manager in debug builds. I have only used HeapMemView on smaller projects in the rare situation where I'm seeing problems in release builds and not in debug builds, but I agree with you, doing things post-mortem is kind of like locking the stable door after the horse has bolted  :D
Paul Nettle's memory manager (http://www.paulnettle.com/pub/FluidStudios/MemoryManagers/) is pretty good for a free library, I've used it a bunch of times and it's really helped me out. (And ugh, paulnettle.com has moved entirely to flash, UGH!).
Title: Re: Heap memory view
Post by: ChalkTrauma on January 08, 2008, 09:18 AM
Yea.. I use the fluid studios color picker a lot too, and when I went back a while ago to check for updates I found that they had moved everything to flash on both Paul Nettle's site and the Fluid Studios main site :huh:, it is so painful to get around...