Debugging memory leaks

Chris Angelico rosuav at gmail.com
Sat Jun 15 07:54:57 EDT 2013


On Sat, Jun 15, 2013 at 9:35 PM, rusi <rustompmody at gmail.com> wrote:
> On Jun 15, 4:23 pm, Ben Finney <ben+pyt... at benfinney.id.au> wrote:
>> rusi <rustompm... at gmail.com> writes:
>> > On Jun 15, 5:16 am, Ben Finney <ben+pyt... at benfinney.id.au> wrote:
>> > > 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.
>>
>> > 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-difference/
>
> 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



More information about the Python-list mailing list