Re: Memory leaks

New Message Reply Date view Thread view Subject view Author view

Scott Herod (herod++at++aspen.evt.com)
Wed, 10 Nov 1999 09:29:07 -0700


I'll second Brian's note and add that I find it really
useful to place occasional blocks that you mallinfo() to
check arena memory. See the mallinfo man page.

With regards to purify, I think that you should start the
project using it. We've found that trying to get it to
work with a large, existing project is very hard.

Scott

Brian Furtaw wrote:
>
> I use Purify and cvd memory leak checking tools to find bugs, I find the
> watch points in cvd especially useful. Watch points may exist in dbx but
> I have never been able to get them working. A man on ssmalloc_error
> (SpeedShop) or cvmalloc_error will explain some environment variables
> you can set to help you debug memory problems. Remeber to link with
> -lmalloc_cv or -lmalloc_ss respectively.
>
> Brian
>
> Satheesh Ganapathi Subramanian wrote:
> >
> > Hi Performers,
> >
> > This question might not be related to performer, but I cannot find a more
> > resourceful mailing list than this.
> >
> > I'm looking for possible profiling tools/ tools for finding memory leaks
> > etc. Are there any freewares/sharewares available for the SGI platform and
> > that are good for debugging graphics apps.
> >
> > Sorry if this question is really off topic.
> >
> > Thanks,
> > Satheesh
> >
> >


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Wed Nov 10 1999 - 08:29:40 PST

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.