GNU bug report logs - #1053
23.0.60; 600 MB memory not freed after keyboard-quit

Previous Next

Package: emacs;

Reported by: "Peter Tury" <tury.peter <at> gmail.com>

Date: Mon, 29 Sep 2008 19:30:03 UTC

Severity: normal

Tags: notabug, wontfix

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #10 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Peter Tury <tury.peter <at> gmail.com>
Cc: 1053 <at> debbugs.gnu.org, emacs-pretest-bug <at> gnu.org
Subject: Re: bug#1053: 23.0.60; 600 MB memory not freed after keyboard-quit
Date: Mon, 29 Sep 2008 21:42:36 -0400
> could move the point (with the arroy keys): I thought yyy-process is
> stopped and I can use Emacs again. But after a while Emacs again
> stopped responding. Even the buffer content was not redrawn. I tried

It was probably busy doing garbage-collection.

> C-g again and again, but nothing happened. I hoped just memory freeing
> takes a long time, so left my PC for some minutes. This didn't helped
> either. But after a while I could again use Emacs: killed the buffer
> (containing yyy) and moved around the point just to see it works. But
> memory still was occupied: Emacs used ~600MB. Later I killed Emacs
> (with C-x C-c) and got back the memory.

Releasing such memory is surprisingly difficult, so you may indeed end
up with a large Emacs process with a large heap that takes a long time
to GC, so every time Emacs calls the GC your Emacs appears frozen.

If you try M-: (garbage-collect) RET in such a process you should see
how long it takes, and the returned value contains useful info to have
a vague idea of what's going on.


        Stefan




This bug report was last modified 14 years and 9 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.