Valgrind is an effective open source tool to detect memory leaks and many
more bugs in the program.

http://valgrind.org/

On Mon, Aug 15, 2011 at 6:31 AM, *$* <[email protected]> wrote:

> use <crtdbg.h>
>
> _crtdumpmemoryleaks() .. will work only in debug version.
>
>
> On Mon, Aug 15, 2011 at 4:01 AM, Ankur Garg <[email protected]> wrote:
>
>> Where ever u have allocated dynamic memory that qualifies to be a culprit
>> for causing memory leak ...Scan through the code if the memory block has
>> been deallocated or not ...
>>
>>
>> Regards
>> Ankur
>>
>>
>> On Sun, Aug 14, 2011 at 6:03 PM, SAMMM <[email protected]> wrote:
>>
>>> How to detect in which line the Memory Leak has occured ?? I want the
>>> line number where the Memory leak occurs ??? Give every wild answer u
>>> can think off ............
>>>
>>> --
>>> You received this message because you are subscribed to the Google Groups
>>> "Algorithm Geeks" group.
>>> To post to this group, send email to [email protected].
>>> To unsubscribe from this group, send email to
>>> [email protected].
>>> For more options, visit this group at
>>> http://groups.google.com/group/algogeeks?hl=en.
>>>
>>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "Algorithm Geeks" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected].
>> For more options, visit this group at
>> http://groups.google.com/group/algogeeks?hl=en.
>>
>
>
>
> --
> Thx,
> --Gopi
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Algorithm Geeks" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/algogeeks?hl=en.
>



-- 
Regards
Rajeev N B <http://www.opensourcemania.co.cc>

"*Winners Don't do Different things , they do things Differently"*

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to