home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c
- Path: sparky!uunet!inmos!titan.inmos.co.uk!news
- From: conor@lion.inmos.co.uk (Conor O'Neill)
- Subject: Re: Help me track down memory leakage
- Message-ID: <1992Nov19.161411.25199@titan.inmos.co.uk>
- Sender: news@titan.inmos.co.uk
- Reply-To: conor@inmos.co.uk (Conor O'Neill)
- Organization: INMOS Limited, Bristol, UK.
- References: <BxuLIr.DK@rice.edu>
- Date: Thu, 19 Nov 1992 16:14:11 GMT
- Lines: 24
-
- In article <BxuLIr.DK@rice.edu> abuhr@owlnet.rice.edu (Aaron M. Buhr) writes:
- > I've inherited a very large C program that I am trying to maintain and
- >expand, and I've come to the point where I HAVE to find out where the
- >program's leaking memory. The program starts out with about 7MB virtual
- >mem usage, 6MB real, and grows over the course of 6-8 hours to around 20MB
- >virtual, 10MB real. The program uses straight malloc() and realloc() calls.
- >I don't know where or how to start trying to track this down. Any help
- >would be greatly appreciated. Email is preferred, but I'll try to watch
- >the posts to this group as well. Much thanks in advance.
-
- The 'purify' system, which I used on a Sun 4, seems very good.
-
- It is very easy to use - you just edit your 'link' line in your makefile.
- It reports stuff such as some illegal pointer accesses, eg accesses
- to free-d memory, and also gives a list of all memory which is still
- allocated at program termination, and tells you where it was malloc-ed.
-
-
-
-
- ---
- Conor O'Neill, Software Group, INMOS Ltd., UK.
- UK: conor@inmos.co.uk US: conor@inmos.com
- "It's state-of-the-art" "But it doesn't work!" "That is the state-of-the-art".
-