Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Oct 1998 14:20:45 GMT
From:      Robert Swindells <rjs@fdy2.demon.co.uk>
To:        joelh@gnu.org
Cc:        kline@thought.org, hackers@FreeBSD.ORG
Subject:   Re: Memory leak location tool?
Message-ID:  <199810311420.OAA00539@fdy2.demon.co.uk>
In-Reply-To: <86u30lms4a.fsf@detlev.UUCP> (message from Joel Ray Holveck on 30 Oct 1998 19:34:29 -0600)

next in thread | previous in thread | raw e-mail | index | archive | help

>> Are there any free tools to detect likely memory leaks?  Tools
>> like Purify aren't quite what I'm looking for.    
>>    Anybody?

>"more `grep -l malloc /usr/ports/devel/*/pkg/DESCR`" will turn up the
>following:
>
>* The Boehm-Weiser garbage collecting malloc (boehm-gc) includes a leak
>  detector.
>
>* Doug Lea's malloc (libdlmalloc) and libmalloc include hooks to add
>  leak detection.
>
>* S-Lang (libslang) says that it includes "a malloc debugging
>  package".  I'm not sure whether they mean something to help debug
>  malloc, or a malloc that helps you debug your code.

There is also a simple one as part of X11R6.3.

It is in xc/utils/memleak.

I can't tell if the 386 support came as standard, or with the XFree86
patches.

Robert Swindells
-------------------------------------
Robert Swindells     - GenRad Ltd
rjs@genrad.co.uk     - Work
rjs@fdy2.demon.co.uk - Home

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199810311420.OAA00539>