memory leak checker program? for windows

This is a discussion on memory leak checker program? for windows within the C Programming forums, part of the General Programming Boards category; Hi, i am writing a c program.want to check if it leaks memory. I am compiling and runing on windows ...

  1. #1
    Registered User
    Join Date
    Feb 2006
    Posts
    58

    memory leak checker program? for windows

    Hi,

    i am writing a c program.want to check if it leaks memory.

    I am compiling and runing on windows platform.Using the visual c++ toolkit compiler or the dev c++ compiler.Find them reliable.

    I want to know is there any way / or any software on the windows platform that would let me check for memory leaks in my c program.

    previously i used bcheck on unix at college.But I want to use a windows based memory leak checker.IF you know of any,do share.
    Thanking you,
    Rahul SK

  2. #2
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,437
    Well visual studio has the ability to produce a list of all blocks still allocated by using a debug allocation library.
    Searching for MALLOC_DBG should help.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. To find the memory leaks without using any tools
    By asadullah in forum C Programming
    Replies: 2
    Last Post: 05-12-2008, 07:54 AM
  2. Program crashes and memory leaks
    By ulillillia in forum Tech Board
    Replies: 1
    Last Post: 05-15-2007, 10:54 PM
  3. Any Memory Leak Checking Tool?
    By George2 in forum C Programming
    Replies: 4
    Last Post: 06-21-2006, 11:02 PM
  4. pointers
    By InvariantLoop in forum C Programming
    Replies: 13
    Last Post: 02-04-2005, 08:32 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21