home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / lang / c / 16718 < prev    next >
Encoding:
Text File  |  1992-11-18  |  1.6 KB  |  36 lines

  1. Newsgroups: comp.lang.c
  2. Path: sparky!uunet!virtech!cpcahil
  3. From: cpcahil@vti.com (Conor P. Cahill)
  4. Subject: Re: Help me track down memory leakage
  5. Message-ID: <BxwtGr.82n@vti.com>
  6. Organization: Virtual Technologies Inc.
  7. References: <BxuLIr.DK@rice.edu>
  8. Date: Wed, 18 Nov 1992 11:34:02 GMT
  9. Lines: 25
  10.  
  11. abuhr@owlnet.rice.edu (Aaron M. Buhr) writes:
  12.  
  13. >     I've inherited a very large C program that I am trying to maintain and
  14. >expand, and I've come to the point where I HAVE to find out where the
  15. >program's leaking memory.  The program starts out with about 7MB virtual
  16. >mem usage, 6MB real, and grows over the course of 6-8 hours to around 20MB
  17. >virtual, 10MB real.  The program uses straight malloc() and realloc() calls.
  18. >I don't know where or how to start trying to track this down.  Any help
  19. >would be greatly appreciated.  Email is preferred, but I'll try to watch
  20. >the posts to this group as well.  Much thanks in advance.
  21.  
  22. Assuming you are talking about a program in a UNIX environment, you could
  23. use my freeware dbmalloc (or malloclib) library which does have some support
  24. for tracking memory leaks.  This was posted to comp.sources.misc in Sept.
  25.  
  26. Another (better, but I'm biased) solution would be to use our SENTINEL
  27. product which you would just link in and get a full report of memory
  28. leaks in addition to lots of other interesting debugging capabilities.
  29. Send email if you would like additional information.
  30.  
  31. -- 
  32. *** SENTINEL(tm) The ultimate Debugging Environment - email for more info ***
  33.  
  34. Conor P. Cahill              (703)430-9247            cpcahil@virtech.vti.com
  35. Virtual Technologies, Inc.  46030 Manekin Plaza          Dulles, VA 20166 
  36.