Skip to main content
gamedev.net
🔒 Locked 🤖 Godot

Memory leak

Started by smally Mar 3, 2008 at 1:53 PM 1 replies 900+ views
Original Post
smally
smally
I think it's about time I learnt how exactly to read the output for a memory leak in VisualStudio 2005 (using C++) I'm usually quite neat, or my memory leak is an obvious one, but I am having trouble finding this one, and was hoping someone would describe what exactly the output text is trying to say to me:
Dumping objects ->
{156} normal block at 0x00665AC8, 4 bytes long.
 Data: <$qI > 24 71 49 00 
Object dump complete.
CmpDev
CmpDev
Quote:
{156} normal block at 0x00665AC8, 4 bytes long.

At allocation id ({156})
with the memory address (normal block at 0x00665AC8)
the size of the type leaked is ( 4 bytes long.)
The contents of the leaked 4 bytes leaked are 24 71 49 00
SiCrane
SiCrane
If you want to see where the leak was generated you can use _CrtSetBreakAlloc(156) to break on the allocation.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.