Path: csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!newsfeed.eweka.nl!eweka.nl!feeder3.eweka.nl!newsfeed.xs4all.nl!newsfeed3.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.085 X-Spam-Evidence: '*H*': 0.84; '*S*': 0.01; 'configure': 0.05; '(except': 0.07; 'received:mail-vc0-f174.google.com': 0.09; 'desktop.': 0.16; 'filesystem': 0.16; 'finney': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'pressed': 0.16; 'reboot': 0.16; 'suspend': 0.16; 'sat,': 0.16; 'wrote:': 0.18; 'machine': 0.22; 'memory': 0.22; 'resumes': 0.24; 'software.': 0.24; '15,': 0.26; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; 'received:209.85.220.174': 0.31; 'writes:': 0.31; 'file': 0.32; 'run': 0.32; 'computer.': 0.33; 'guess': 0.33; 'received:209.85': 0.35; 'received:209.85.220': 0.35; 'received:google.com': 0.35; 'done': 0.36; 'received:209': 0.37; 'button': 0.38; 'problems': 0.38; 'ben': 0.38; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'to:addr:python.org': 0.39; 'browser': 0.61; 'save': 0.62; 'personal': 0.63; 'fire': 0.65; 'charset:windows-1252': 0.65; 'gathering': 0.68; 'power': 0.76; 'transfer': 0.82; 'application?': 0.84; 'leak': 0.84; 'rusi': 0.91; 'state.': 0.95; 'instant': 0.97; '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:content-transfer-encoding; bh=eA+D4Mlkj9FXhLDugip88xZStiBPGUGmofoJGjbd9zM=; b=ouwpMKaMiow+UN51gJ+xl/bB9l+efx6Ve3aOU/MxFgnRTpO+4Z88gmknKWTtIWx5Qv 61EF8QnIvuoaxrAbBISXBhAWFVPv6YlRIhmh9Xn9dZiJlgsSr37+uFAkpfgvfBadc5Pw EbsvhFDmeJq93AX7BnB3dspA7ybgMPGmp2kYKmB0iRX+vEbvixHeJWHoCHzUvXX0Vj5B 1VRQsO/PIwdMFyPuRG5tgqZ8acaemdxmZtinyTLKfi1LS/5Hd1PGWB+Ar2n1T14UkJlV MscRYWPhG2GdtVFVCnoZddVOhxefn6iTmFujA38y6MYWBv8gclj0268HL3SAGbT5N3K9 O/fA== MIME-Version: 1.0 X-Received: by 10.220.182.193 with SMTP id cd1mr2211609vcb.32.1371297297859; Sat, 15 Jun 2013 04:54:57 -0700 (PDT) In-Reply-To: References: <09917103-b35e-4728-8fea-bcb4ce2bd1af@googlegroups.com> <138836f2-39a4-4424-9090-f29d0b91654b@g5g2000pbp.googlegroups.com> Date: Sat, 15 Jun 2013 21:54:57 +1000 Subject: Re: Debugging memory leaks From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable 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: 33 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1371297307 news.xs4all.nl 15980 [2001:888:2000:d::a6]:55980 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:48288 On Sat, Jun 15, 2013 at 9:35 PM, rusi wrote: > On Jun 15, 4:23 pm, Ben Finney wrote: >> rusi writes: >> > On Jun 15, 5:16 am, Ben Finney wrote: >> > > Is a web browser a =93typical desktop app=94? 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. >> >> > Oh well -- I guess I am an old geezer who shuts my machine when I am >> > done! >> >> As do I. And when I power on the machine, it resumes exactly where it >> left off: with the exact same contents of memory as when I pressed the >> Suspend button. > Suspend is low-power, hibernate is 0-power > http://www.unixmen.com/suspend-vs-hibernate-in-linux-what-is-the-differen= ce/ > > And I keep having some issues with hibernate You can configure the Suspend button to hibernate the computer. Though my personal preference, when hibernating a computer, is to trigger it directly from software. Anyway, same difference; shut down a computer without shutting down a process. I do the same with several of my VMs - when I'm done with them, Save Machine State. (Except the one for Magic: The Gathering Online. For some reason MTGO has problems if I don't actually reboot it periodically, so that one I just shut down.) ChrisA