Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #48263
| References | (1 earlier) <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 | 2013-06-15 17:21 +1000 |
| Subject | Re: Debugging memory leaks |
| From | Chris Angelico <rosuav@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.3363.1371280909.3114.python-list@python.org> (permalink) |
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