bug#1504: 23.0.60; emacs daemon leaks memory

From:

Markus Triska

Subject:

bug#1504: 23.0.60; emacs daemon leaks memory

Date:

Sun, 07 Dec 2008 21:59:30 +0100

Chong Yidong <address@hidden> 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.