Article View: comp.unix.programmer
Article #3591Re: MEMORY QUESTION
From: Ed L Cashin
Date: Mon, 15 Jan 2001 16:04
Date: Mon, 15 Jan 2001 16:04
29 lines
2171 bytes
2171 bytes
David Peter <dave.peter@eu.citrix.com> writes:
...
> The problem I've found with tools like ElectricFence and dmalloc is
> that they're useless on anything but a trivial application. For a
> real-world application they make it so fat and slow as to be
> unusable.
Sure, because they have great features. You normally have different
kinds of builds:
debugging -- the binaries contain info for the debugger
maybe lots of memory-checking stuff
production - the binaries may be stripped
memory leaks and problems have been debugged, so no
linking against dmalloc
... if you're using autoconf you can provide a user option like
"--enable-debug" to turn on the debugging build that is not the
default.
--
--Ed Cashin integrit file-verification system:
ecashin@coe.uga.edu http://integrit.sourceforge.net/
Note: If you want me to send you email, don't munge your address.
Technical Details
Message-ID:
<m3hf30245h.fsf@coe.uga.edu>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!freenix!proxad.net!oleane.net!oleane!xfer13.netnews.com!netnews.com!feed2.news.rcn.net!rcn!news.mindspring.net!finch!cronkite!not-for-mailReferences:
<93r49f$hoe$1@nnrp1.deja.com> <3A611A23.C9AA59AD@home.com> <93s161$80f@cucumber.demon.co.uk> <3A62C719.97D2D747@eu.citrix.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-15 08:06:07 PST Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!freenix!proxad.net!oleane.net!oleane!xfer13.netnews.com!netnews.com!feed2.news.rcn.net!rcn!news.mindspring.net!finch!cronkite!not-for-mail From: Ed L Cashin <ecashin@coe.uga.edu> Newsgroups: comp.unix.programmer,gnu.gcc.help Subject: Re: MEMORY QUESTION Date: 15 Jan 2001 11:04:10 -0500 Organization: University of Georgia Lines: 29 Message-ID: <m3hf30245h.fsf@coe.uga.edu> References: <93r49f$hoe$1@nnrp1.deja.com> <3A611A23.C9AA59AD@home.com> <93s161$80f@cucumber.demon.co.uk> <3A62C719.97D2D747@eu.citrix.com> NNTP-Posting-Host: kali.coe.uga.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: cronkite.cc.uga.edu 979574654 20867 128.192.22.62 (15 Jan 2001 16:04:14 GMT) X-Complaints-To: news@cronkite.cc.uga.edu NNTP-Posting-Date: 15 Jan 2001 16:04:14 GMT User-Agent: Gnus/5.070099 (Pterodactyl Gnus v0.99) Emacs/20.6