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: Heap memory view  (Read 7,185 times)

Cuffy

  • Participant
  • Joined in 2007
  • *
  • Posts: 392
Heap memory view
« on: January 07, 2008, 03:43 PM »
http://www.sofotex.com/HeapMemView-download_L76228.html

Does anyone understand or need this?

:tellme:

housetier

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 1,321
    • Gathering Badge
Re: Heap memory view
« Reply #1 on: January 07, 2008, 04:48 PM »
I particularly like "Filesize: 39" :-)

Other than that, I don't need it but I understand their claims of the capabilities of the program.

ChalkTrauma

  • ::41554D::
  • Honorary Member
  • Joined in 2007
  • **
  • Posts: 116
Re: Heap memory view
« Reply #2 on: January 07, 2008, 08: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:

 
'Behold! It is not over unknown seas but back over well-known years that your quest must go; back to the bright strange things of infancy and the quick sun-drenched glimpses of magic that old scenes brought to wide young eyes.'

f0dder

  • [Well, THAT escalated quickly!]
  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,153
    • Participated in NANY Challenge Once
Re: Heap memory view
« Reply #3 on: January 08, 2008, 12:44 AM »
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.
- carpe noctem

ChalkTrauma

  • ::41554D::
  • Honorary Member
  • Joined in 2007
  • **
  • Posts: 116
Re: Heap memory view
« Reply #4 on: January 08, 2008, 02:45 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
'Behold! It is not over unknown seas but back over well-known years that your quest must go; back to the bright strange things of infancy and the quick sun-drenched glimpses of magic that old scenes brought to wide young eyes.'

f0dder

  • [Well, THAT escalated quickly!]
  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,153
    • Participated in NANY Challenge Once
Re: Heap memory view
« Reply #5 on: January 08, 2008, 01:12 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
Paul Nettle's memory manager 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!).
- carpe noctem

ChalkTrauma

  • ::41554D::
  • Honorary Member
  • Joined in 2007
  • **
  • Posts: 116
Re: Heap memory view
« Reply #6 on: January 08, 2008, 03:18 PM »
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... 
'Behold! It is not over unknown seas but back over well-known years that your quest must go; back to the bright strange things of infancy and the quick sun-drenched glimpses of magic that old scenes brought to wide young eyes.'

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