Sign in to follow this  
smally

Memory leak

Recommended Posts

smally    122
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.

Share this post


Link to post
Share on other sites
CmpDev    100
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

Share this post


Link to post
Share on other sites
SiCrane    11839
If you want to see where the leak was generated you can use _CrtSetBreakAlloc(156) to break on the allocation.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this