Article View: comp.unix.programmer
Article #3592Re: MEMORY QUESTION
From: David Peter
Date: Tue, 16 Jan 2001 09:30
Date: Tue, 16 Jan 2001 09:30
36 lines
2834 bytes
2834 bytes
Ed L Cashin wrote: > > 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. Sure, I know all about debug and production builds - I'm a software engineer. But as an SE I spend most of my time working with debug builds and tools like dmalloc, good in principal though they may be, don't really help if one's application ends up running 20 times slower than normal.
Technical Details
Message-ID:
<3A64149E.7562F0CA@eu.citrix.com>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!cyclone-sf.pbi.net!63.208.208.143!feed2.onemain.com!feed1.onemain.com!news-out.cwix.com!newsfeed.cwix.com!newsfeed.icl.net!colt.net!diablo.netcom.net.uk!netcom.net.uk!nntp.news.xara.net!xara.net!gxn.net!news.lattis.xara.net!psiuk-f4!psiuk-p4!uknet!psiuk-n!nnrp1.news.uk.psi.net!proxy1.ctxuk.citrix.comReferences:
<93r49f$hoe$1@nnrp1.deja.com> <3A611A23.C9AA59AD@home.com> <93s161$80f@cucumber.demon.co.uk> <3A62C719.97D2D747@eu.citrix.com> <m3hf30245h.fsf@coe.uga.edu>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-16 01:36:04 PST Message-ID: <3A64149E.7562F0CA@eu.citrix.com> Date: Tue, 16 Jan 2001 09:30:06 +0000 From: David Peter <dave.peter@eu.citrix.com> Organization: Citrix Systems (UK) Ltd X-Mailer: Mozilla 4.73 [en] (X11; U; HP-UX B.10.20 9000/715) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.unix.programmer,gnu.gcc.help Subject: Re: MEMORY QUESTION References: <93r49f$hoe$1@nnrp1.deja.com> <3A611A23.C9AA59AD@home.com> <93s161$80f@cucumber.demon.co.uk> <3A62C719.97D2D747@eu.citrix.com> <m3hf30245h.fsf@coe.uga.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cache-Post-Path: proxy1.ctxuk.citrix.com!unknown@zebedee.ctxuk.citrix.com X-Cache: nntpcache 2.4.0b5 (see http://www.nntpcache.org/) NNTP-Posting-Host: proxy1.ctxuk.citrix.com X-Trace: 16 Jan 2001 09:30:26 GMT, proxy1.ctxuk.citrix.com Lines: 36 Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!cyclone-sf.pbi.net!63.208.208.143!feed2.onemain.com!feed1.onemain.com!news-out.cwix.com!newsfeed.cwix.com!newsfeed.icl.net!colt.net!diablo.netcom.net.uk!netcom.net.uk!nntp.news.xara.net!xara.net!gxn.net!news.lattis.xara.net!psiuk-f4!psiuk-p4!uknet!psiuk-n!nnrp1.news.uk.psi.net!proxy1.ctxuk.citrix.com