all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Peter Tury <tury.peter@gmail.com>
Cc: emacs-pretest-bug@gnu.org, 1053@emacsbugs.donarmstrong.com
Subject: bug#1053: 23.0.60; 600 MB memory not freed after keyboard-quit
Date: Mon, 29 Sep 2008 21:42:36 -0400	[thread overview]
Message-ID: <jwvej32tntj.fsf-monnier+emacsbugreports@gnu.org> (raw)
In-Reply-To: <b5accf970809291220h4520b569nfcc840cf1561aefc@mail.gmail.com> (Peter Tury's message of "Mon, 29 Sep 2008 21:20:00 +0200")

> 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






  reply	other threads:[~2008-09-30  1:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-29 19:20 bug#1053: 23.0.60; 600 MB memory not freed after keyboard-quit Peter Tury
2008-09-30  1:42 ` Stefan Monnier [this message]
2011-07-09 17:56   ` Glenn Morris

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvej32tntj.fsf-monnier+emacsbugreports@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=1053@emacsbugs.donarmstrong.com \
    --cc=emacs-pretest-bug@gnu.org \
    --cc=tury.peter@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.