Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #48263
| Path | csiph.com!usenet.pasdenom.info!news.albasani.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <rosuav@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.117 |
| X-Spam-Level | * |
| X-Spam-Evidence | '*H*': 0.77; '*S*': 0.01; 'suppose': 0.07; 'http': 0.09; 'assume': 0.14; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'leaks': 0.16; 'losing': 0.16; 'usable': 0.16; 'sat,': 0.16; 'wrote:': 0.18; 'meant': 0.20; 'reset': 0.22; 'bytes': 0.24; 'looks': 0.24; '15,': 0.26; 'compare': 0.26; 'right.': 0.26; 'header:In-Reply-To:1': 0.27; 'chris': 0.29; "doesn't": 0.30; 'waste': 0.30; 'message-id:@mail.gmail.com': 0.30; 'usually': 0.31; 'writes:': 0.31; 'run': 0.32; 'advice': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'ram': 0.36; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'to:addr:python.org': 0.39; 'how': 0.40; 'even': 0.60; 'lost': 0.61; 'browser': 0.61; 'day.': 0.63; 'different': 0.65; 'situation': 0.65; 'request.': 0.70; 'day': 0.76; '485': 0.84; 'action.': 0.84; 'loose': 0.84; 'perspective.': 0.84; 'terrible': 0.84; '2013': 0.98 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=95fRZwbGFpqTiwdJgfRgTKUNNfuKaohkyICZKvHDAYU=; b=lC04CDqMmEXGzLPdI24HoV7h6+fGMOSz9oPYIY3x7ItZbiDNjrHyGgmDhzmtS8v+hD 63V7brDkwhtSgBUf5p6PwBKe80i8oEAuregzU+x0IE2HMf0I3C24W/+/sh+113KSZJhs sgujc1waJQVd+rWhPSOnMf3aGuRYBeRaMvTHIiYulllk8uNo6yjdt1QcB468/ndKEtvO WcIFOY2lblqr0JyWElRc276ty+btQlWSEiDhNMHpl71PkFgdSL8086Wo8D23rW3Umxea OkE3228DwzC63ZxfWs24nCHYhNvJG7wrln302L18k8AZ2WayEshnH/avKUISWYdAEcVF jq9A== |
| MIME-Version | 1.0 |
| X-Received | by 10.52.117.16 with SMTP id ka16mr1507540vdb.43.1371280907089; Sat, 15 Jun 2013 00:21:47 -0700 (PDT) |
| In-Reply-To | <87y5abyig3.fsf@handshake.de> |
| References | <09917103-b35e-4728-8fea-bcb4ce2bd1af@googlegroups.com> <mailman.3165.1371104977.3114.python-list@python.org> <slrnkrkacg.2u4.giorgos.tzampanakis@brilliance.eternal-september.org> <51ba82b5$0$29997$c3e8da3$5496439d@news.astraweb.com> <CAPTjJmqF3b1CZ5wB3C6kC3o=uUYt-7KCQax7_U+NQ77e8xvVBw@mail.gmail.com> <87y5abyig3.fsf@handshake.de> |
| Date | Sat, 15 Jun 2013 17:21:46 +1000 |
| Subject | Re: Debugging memory leaks |
| From | Chris Angelico <rosuav@gmail.com> |
| To | python-list@python.org |
| Content-Type | text/plain; charset=ISO-8859-1 |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.3363.1371280909.3114.python-list@python.org> (permalink) |
| Lines | 21 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1371280909 news.xs4all.nl 15978 [2001:888:2000:d::a6]:41056 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:48263 |
Show key headers only | View raw
On Sat, Jun 15, 2013 at 4:52 PM, dieter <dieter@handshake.de> wrote: > Chris Angelico <rosuav@gmail.com> 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. Right. Everything needs to be scaled. Everything needs to be in perspective. Losing 1 kilobit per day is indeed trivial; even losing one kilobyte per day, which is what I assume you meant :), isn't significant. But it's not usually per day, it's per leaking action. Suppose your web browser leaks 1024 usable bytes of RAM every HTTP request. Do you know how much that'll waste per day? CAN you know? ChrisA
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Debugging memory leaks writeson <doug.farrell@gmail.com> - 2013-06-12 18:24 -0700
Re: Debugging memory leaks dieter <dieter@handshake.de> - 2013-06-13 08:29 +0200
Re: Debugging memory leaks Giorgos Tzampanakis <giorgos.tzampanakis@gmail.com> - 2013-06-13 20:15 +0000
Re: Debugging memory leaks Steve Simmons <square.steve@gmail.com> - 2013-06-13 22:45 +0100
Re: Debugging memory leaks Chris Angelico <rosuav@gmail.com> - 2013-06-14 08:36 +1000
Re: Debugging memory leaks Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-06-14 02:40 +0000
Re: Debugging memory leaks Chris Angelico <rosuav@gmail.com> - 2013-06-14 19:30 +1000
Re: Debugging memory leaks Giorgos Tzampanakis <giorgos.tzampanakis@gmail.com> - 2013-06-14 22:57 +0000
Re: Debugging memory leaks Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-06-15 01:39 +0000
Re: Debugging memory leaks dieter <dieter@handshake.de> - 2013-06-15 08:52 +0200
Re: Debugging memory leaks Chris Angelico <rosuav@gmail.com> - 2013-06-15 17:21 +1000
Re: Debugging memory leaks dieter <dieter@handshake.de> - 2013-06-16 08:18 +0200
Re: Debugging memory leaks rusi <rustompmody@gmail.com> - 2013-06-14 06:53 -0700
Re: Debugging memory leaks Chris Angelico <rosuav@gmail.com> - 2013-06-15 10:11 +1000
Re: Debugging memory leaks Ben Finney <ben+python@benfinney.id.au> - 2013-06-15 10:16 +1000
Re: Debugging memory leaks rusi <rustompmody@gmail.com> - 2013-06-14 20:16 -0700
Re: Debugging memory leaks Ben Finney <ben+python@benfinney.id.au> - 2013-06-15 21:23 +1000
Re: Debugging memory leaks rusi <rustompmody@gmail.com> - 2013-06-15 04:35 -0700
Re: Debugging memory leaks Chris Angelico <rosuav@gmail.com> - 2013-06-15 21:54 +1000
Re: Debugging memory leaks writeson <doug.farrell@gmail.com> - 2013-06-13 11:07 -0700
Re: Debugging memory leaks Dave Angel <davea@davea.name> - 2013-06-13 14:44 -0400
Re: Debugging memory leaks rusi <rustompmody@gmail.com> - 2013-06-14 05:36 -0700
Re: Debugging memory leaks "Frank Millman" <frank@chagford.com> - 2013-06-21 08:50 +0200
csiph-web