|
-
February 17th, 2012, 05:57 PM
#1
Leak: Allocation Number increasing by one when reported
Hi guys i have a memory leak in my program which the memory allocation number is increasing by one everytime its reported. I wanted to put a break point on it but I'm wondering if that allocation number make sense. Any idea what does it mean and how to track this? Here is the actual memory leak.
Code:
Detected memory leaks!
Dumping objects ->
{1986} normal block at 0x01CD66B0, 88 bytes long.
Data: < Ls > 8C 6C 45 10 00 00 00 00 CD CD CD CD 00 00 00 00
Object dump complete.
Detected memory leaks!
Dumping objects ->
{1986} normal block at 0x01CD66B0, 88 bytes long.
Data: < Ls > 8C 6C 45 10 00 00 00 00 CD CD CD CD 00 00 00 00
Object dump complete.
The program '[2232] SampleApp_d.exe: Native' has exited with code 0 (0x0).
that allocation number {1986} will be come {1987} next time the leak is reported.
Last edited by himitsujanai; February 26th, 2012 at 09:53 PM.
-
February 18th, 2012, 03:02 AM
#2
Re: Leak: Allocation Number increasing by one when reported
Victor Nijegorodov
-
February 18th, 2012, 04:48 AM
#3
Re: Leak: Allocation Number increasing by one when reported
Last edited by Igor Vartanov; February 18th, 2012 at 04:50 AM.
Best regards,
Igor
-
February 18th, 2012, 09:06 AM
#4
Re: Leak: Allocation Number increasing by one when reported
 Originally Posted by VictorN
Thanks Victor but I already know how to manage and how to solved memory leak the point is this memory leak is a bit tricky and new to me because every time it reported the allocation number is increase by one and if i break point it its does not make any sense the one that it points to is a non suspected line of code. the others that i solved is a fixed allocation number and there's some information that u can use like the data, file and line where the leak occured
-
February 18th, 2012, 11:04 AM
#5
Re: Leak: Allocation Number increasing by one when reported
If you know that the allocation number increase by one you can compensate for that can't you?
-
February 18th, 2012, 05:13 PM
#6
Re: Leak: Allocation Number increasing by one when reported
 Originally Posted by himitsujanai
it its does not make any sense the one that it points to is a non suspected line of code.
Please show this line of code you say is "non-suspected".
Too many times, we get posters not showing code because they think the code isn't relevant to their problem. Then when we finally get to see the code that wasn't supposed to be relevant, it turns out that the code is the root cause of the problem.
Regards,
Paul McKenzie
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|