Any Memory Leak Checking Tool?

This is a discussion on Any Memory Leak Checking Tool? within the C Programming forums, part of the General Programming Boards category; Hello everyone, I am wondering whether there is a memory leak checking tool for C/C++ on Linux platform which has ...

  1. #1
    Registered User
    Join Date
    May 2006
    Posts
    1,579

    Any Memory Leak Checking Tool?

    Hello everyone,


    I am wondering whether there is a memory leak checking tool for C/C++ on Linux platform which has the following function,

    - Can detect whether there are any un-freed memory after the execution of a specific program or a specific section or a program?

    - Can report the memory leak point inside a program with related function call stack trace so that I can study in depth.


    thanks in advance,
    George

  2. #2
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    21,588
    You could try Valgrind, but my lack of experience in programming under Linux means that I personally have never used it.
    C + C++ Compiler: MinGW port of GCC
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  3. #3
    ex-DECcie
    Join Date
    Dec 2005
    Posts
    125

    dmalloc

    There's also something called dmalloc that works pretty well.

    Check the documentation on the site -- it's pretty extensive as I recall.
    Mr. Blonde: You ever listen to K-Billy's "Super Sounds of the Seventies" weekend? It's my personal favorite.

  4. #4
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,046
    The tutorials recommend "IBM's Purify".
    dwk

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell


    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ: cpwiki.sf.net

    My website: http://dwks.theprogrammingsite.com/
    Projects: codeform, xuni, atlantis, nort, etc.

  5. #5
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,596
    Sure there is. You.

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. memory leak in vector <int>
    By franziss in forum C++ Programming
    Replies: 21
    Last Post: 10-10-2006, 06:54 AM
  3. Memory Leak
    By Berticus in forum C++ Programming
    Replies: 5
    Last Post: 07-20-2005, 05:11 PM
  4. Is this a memory leak?
    By cboard_member in forum C++ Programming
    Replies: 9
    Last Post: 07-20-2005, 01:15 PM
  5. Manipulating the Windows Clipboard
    By Johno in forum Windows Programming
    Replies: 2
    Last Post: 10-01-2002, 09:37 AM

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