Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Nov 1998 11:47:42 -0800 (PST)
From:      Gary Kline <kline@tao.thought.org>
To:        julian@whistle.com (Julian Elischer)
Cc:        rjs@fdy2.demon.co.uk, joelh@gnu.org, kline@thought.org, hackers@FreeBSD.ORG
Subject:   Re: Memory leak location tool?
Message-ID:  <199811011947.LAA00579@tao.thought.org>
In-Reply-To: <Pine.BSF.3.95.981101113129.5087F-100000@current1.whistle.com> from Julian Elischer at "Nov 1, 98 11:31:46 am"

next in thread | previous in thread | raw e-mail | index | archive | help
According to Julian Elischer:
> don't forget 'mprof'
> very good for this.
> 

	Right.  So far I've used memleak and mprof.  The outputs of both 
	are a bit obscure, but I've fixed two programs.  They had almost
	insignificant leaks, and now none.

	Can anyone send me a brief test file and Makefile that works 
	(demonstrates something) for gc?

	thanks,

	gary


> 
> 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
> > 
> 
> 


-- 
   Gary D. Kline         kline@tao.thought.org          Public service uNix


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?199811011947.LAA00579>