Thread: Memory leak trackers

  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    580

    Memory leak trackers

    I've been googling around, searching for methods of tracking memory leaks. Right now, I use some special methods found in assert.h in the crt when I allocate/deallocate memory.

    I tried searching for an external program* that can check for memory leaks, and the problem isn't that I can't find anything, it's that I have found too many things. I was wondering what is considered, in general, to be the better software for tracking memory leaks.

    I am in Windows XP right now, and if it is pertinent I primarily still use Microsoft Visual Studio 6.0 as my development environment.

    *I searched at download.com, and google, for 'memory leak', 'memory leak tracker', 'C++ memory leak tracker' and similar terms. Each turned up approximately a bazillion hits for software and/or methods for tracking memory leaks.
    Last edited by Darkness; 11-30-2004 at 11:10 AM.
    See you in 13

  2. #2
    Its not rocket science vasanth's Avatar
    Join Date
    Jan 2002
    Posts
    1,683
    I use valgrind.. but its for linux.. not sure if a windows port is available...

  3. #3
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659

  4. #4

  5. #5
    Registered User
    Join Date
    Mar 2003
    Posts
    580
    Thanks a bunch, I appreciate it!
    See you in 13

  6. #6
    Registered User
    Join Date
    Apr 2002
    Posts
    1,571
    "...the results are undefined, and we all know what "undefined" means: it means it works during development, it works during testing, and it blows up in your most important customers' faces." --Scott Meyers

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Memory leak in this case?
    By George2 in forum C++ Programming
    Replies: 3
    Last Post: 03-22-2008, 05:05 AM
  2. memory leak in the code?
    By George2 in forum C++ Programming
    Replies: 20
    Last Post: 01-13-2008, 06:50 AM
  3. Is this code memory leak free? ---> POSIX Threads
    By avalanche333 in forum C++ Programming
    Replies: 9
    Last Post: 04-13-2007, 03:19 PM
  4. Any Memory Leak Checking Tool?
    By George2 in forum C Programming
    Replies: 4
    Last Post: 06-21-2006, 11:02 PM
  5. Manipulating the Windows Clipboard
    By Johno in forum Windows Programming
    Replies: 2
    Last Post: 10-01-2002, 09:37 AM