Article View: comp.unix.programmer
Article #3588Re: MEMORY QUESTION
From: Andrew Gabriel
Date: Sun, 14 Jan 2001 11:05
Date: Sun, 14 Jan 2001 11:05
20 lines
1823 bytes
1823 bytes
In article <3A611A23.C9AA59AD@home.com>, Robert Anderson <rwa511@home.com> writes: >wroot@my-deja.com wrote: >> I have asked this question in Linux newsgroups, but got no answer. I'm >> trying to see how much memory my program allocates (at its highest) and >> whether it deallocates all of it by the time the program finishes or >> leaks memory. Are there any tools for that? > >purify is an excellent commercial tool for this purpose. But it is not >cheap. Electric fence is another, and free. I don't know for sure if it works on Linux, but I would think it's quite likely to. Some unixs ship with debugging malloc libraries - again I don't know about Linux - might depend on your distribution. -- Andrew Gabriel Andrew@cucumber.demon.co.uk Consultant Software Engineer
Technical Details
Message-ID:
<93s161$80f@cucumber.demon.co.uk>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!news.maxwell.syr.edu!transit.news.xs4all.nl!bullseye.news.demon.net!news.demon.co.uk!demon!cucumber.demon.co.uk!usenetReferences:
<93r49f$hoe$1@nnrp1.deja.com> <3A611A23.C9AA59AD@home.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,c364cf4dfaec596b X-Google-Attributes: gid11318c,public X-Google-Thread: fc89c,c364cf4dfaec596b X-Google-Attributes: gidfc89c,public X-Google-ArrivalTime: 2001-01-14 03:24:04 PST Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!news.maxwell.syr.edu!transit.news.xs4all.nl!bullseye.news.demon.net!news.demon.co.uk!demon!cucumber.demon.co.uk!usenet From: andrew@cucumber.demon.co.uk (Andrew Gabriel) Newsgroups: comp.unix.programmer,gnu.gcc.help Subject: Re: MEMORY QUESTION Date: 14 Jan 2001 11:05:37 GMT Organization: home Message-ID: <93s161$80f@cucumber.demon.co.uk> References: <93r49f$hoe$1@nnrp1.deja.com> <3A611A23.C9AA59AD@home.com> NNTP-Posting-Host: cucumber X-NNTP-Posting-Host: cucumber.demon.co.uk:158.152.58.86 X-Trace: news.demon.co.uk 979471328 nnrp-02:12424 NO-IDENT cucumber.demon.co.uk:158.152.58.86 X-Complaints-To: abuse@demon.net X-Newsreader: knews 0.9.6 Lines: 21