GNU bug report logs - #1504
23.0.60; emacs daemon leaks memory

Previous Next

Package: emacs;

Reported by: Markus Triska <markus.triska <at> gmx.at>

Date: Sat, 6 Dec 2008 11:30:03 UTC

Severity: normal

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Markus Triska <markus.triska <at> gmx.at>
To: Chong Yidong <cyd <at> stupidchicken.com>
Cc: 1504 <at> debbugs.gnu.org
Subject: bug#1504: 23.0.60; emacs daemon leaks memory
Date: Sun, 07 Dec 2008 21:59:30 +0100
Chong Yidong <cyd <at> stupidchicken.com> writes:

> Does this memory increase persist across garbage collections?

Yes, unfortunately.

> Also, could you check if Emacs 22 has a similar problem

After trying, I found no similar problem in Emacs 22.3 so far. The test
case does not translate directly to older Emacs versions, and in all
compatible cases I tested, CVS and 22.3 performed equally well and OK.

For example, when I do "emacs -Q -nw -f server-start" and evaluate:

   (defun myedit ()
     (run-with-timer 0.1 nil 'server-edit))

   (add-hook 'after-change-major-mode-hook 'myedit)

Then

   $ while true; do emacsclient test.txt; done

does not leak memory, regardless of which version I try it with.




This bug report was last modified 16 years and 159 days ago.

Previous Next


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