From owner-freebsd-hackers Sun Nov 1 11:39:31 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA22669 for freebsd-hackers-outgoing; Sun, 1 Nov 1998 11:39:31 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA22656 for ; Sun, 1 Nov 1998 11:39:29 -0800 (PST) (envelope-from julian@whistle.com) Received: (from daemon@localhost) by alpo.whistle.com (8.8.5/8.8.5) id LAA18552; Sun, 1 Nov 1998 11:32:34 -0800 (PST) Received: from current1.whistle.com(207.76.205.22) via SMTP by alpo.whistle.com, id smtpdF18541; Sun Nov 1 19:32:32 1998 Date: Sun, 1 Nov 1998 11:31:46 -0800 (PST) From: Julian Elischer To: Robert Swindells cc: joelh@gnu.org, kline@thought.org, hackers@FreeBSD.ORG Subject: Re: Memory leak location tool? In-Reply-To: <199810311420.OAA00539@fdy2.demon.co.uk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG don't forget 'mprof' very good for this. On Sat, 31 Oct 1998, Robert Swindells wrote: > > >> 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 > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message