Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder3.xlned.com!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!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.062 X-Spam-Evidence: '*H*': 0.88; '*S*': 0.00; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'received:80.91.229.3': 0.16; 'received:dip0.t-ipconnect.de': 0.16; 'received:plane.gmane.org': 0.16; 'received:t-ipconnect.de': 0.16; 'reset': 0.22; 'header :User-Agent:1': 0.23; 'looks': 0.24; 'compare': 0.26; 'header:X -Complaints-To:1': 0.27; 'chris': 0.29; "doesn't": 0.30; 'writes:': 0.31; 'run': 0.32; 'advice': 0.35; 'but': 0.35; 'charset:us-ascii': 0.36; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'lost': 0.61; 'received:217': 0.63; 'day.': 0.63; 'different': 0.65; 'situation': 0.65; '485': 0.84; 'loose': 0.84; 'terrible': 0.84 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: dieter Subject: Re: Debugging memory leaks Date: Sat, 15 Jun 2013 08:52:12 +0200 References: <09917103-b35e-4728-8fea-bcb4ce2bd1af@googlegroups.com> <51ba82b5$0$29997$c3e8da3$5496439d@news.astraweb.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Gmane-NNTP-Posting-Host: pd9e0a1dc.dip0.t-ipconnect.de User-Agent: Gnus/5.1008 (Gnus v5.10.8) XEmacs/21.4.22 (linux) Cancel-Lock: sha1:ch3O6RLWRgOPX3yqXOU9oA/2Fh0= 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: 12 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1371279146 news.xs4all.nl 15904 [2001:888:2000:d::a6]:58387 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:48260 Chris Angelico writes: > ... > It's terrible advice in generality, because it encourages a sloppiness > of thinking: "Memory usage doesn't matter, we'll just instruct people > to reset everything now and then". "Memory usage" may matter. But if you loose 1 kb a day, your process can run 3 years before you have lost 1 MB. Compare this to the 485 MB used when you start "firefox". The situation looks different when you loose 10 MB a day.