Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.083 X-Spam-Evidence: '*H*': 0.86; '*S*': 0.03; 'advice?': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'desktop.': 0.16; 'filesystem': 0.16; 'finney': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'wrote:': 0.18; 'app': 0.19; 'memory': 0.22; 'header:User-Agent:1': 0.23; 'recognize': 0.24; 'typical': 0.24; 'header:X-Complaints-To:1': 0.27; 'writes:': 0.31; 'file': 0.32; 'run': 0.32; 'maybe': 0.34; '14,': 0.36; 'ben': 0.38; 'to:addr:python-list': 0.38; 'expect': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'browser': 0.61; 'fire': 0.65; 'skip:\xe2 10': 0.65; 'hours': 0.66; 'transfer': 0.82; 'application?': 0.84; 'leak': 0.84; 'terrible': 0.84; 'mistake': 0.91; 'rusi': 0.91; 'instant': 0.97 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Ben Finney Subject: Re: Debugging memory leaks Date: Sat, 15 Jun 2013 10:16:32 +1000 References: <09917103-b35e-4728-8fea-bcb4ce2bd1af@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Gmane-NNTP-Posting-Host: rasputin.madmonks.org X-Public-Key-ID: 0xBD41714B X-Public-Key-Fingerprint: 9CFE 12B0 791A 4267 887F 520C B7AC 2E51 BD41 714B X-Public-Key-URL: http://www.benfinney.id.au/contact/bfinney-gpg.asc X-Post-From: Ben Finney User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) Cancel-Lock: sha1:WjCwxdFBPlpzpc7GGjnHsICOD+g= X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 22 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1371255412 news.xs4all.nl 15891 [2001:888:2000:d::a6]:58912 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:48230 rusi writes: > On Jun 14, 1:15 am, Giorgos Tzampanakis > wrote: > > Am I the only one who thinks this is terrible advice? > > I would expect a typical desktop app to run for a couple of hours -- > maybe a couple of days. Is a web browser a “typical desktop app”? A filesystem browser? An instant messenger? A file transfer application? A podcatcher? All of those typically run for months at a time on my desktop. Any memory leak in any of those is going to cause trouble, please hunt them all down with fire and exterminate with prejudice. -- \ “Experience is that marvelous thing that enables you to | `\ recognize a mistake when you make it again.” —Franklin P. Jones | _o__) | Ben Finney