[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: address@hidden: X Window resource leakage]

From: Jan D.
Subject: Re: address@hidden: X Window resource leakage]
Date: Tue, 27 Jul 2004 14:23:57 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040618

------- Start of forwarded message -------
Date: Fri, 23 Apr 2004 22:27:05 -0400
From: Mathieu Chouquet-Stringer <address@hidden>
To: address@hidden
Content-Disposition: inline
Subject: X Window resource leakage
Sender: address@hidden

Hi all,

I've been using emacs and gnus for quite some time and I'm puzzled by a
problem I'm having. I don't really know if it's an emacs or gnus bug but
I'm posting this message here for now.
I use emacs 21.3.1 and gnus to read usenet and I'm also subscribed to some
binaries newsgroups (mainly plane stuff).
When emacs opens a message that as image embedded in that it's able to
display (more on that later), it displays it. So far so good, except that
it allocates some memory and never frees anything.
I have tried the cvs version of yesterday ( and the same thing
happens. If you don't restart emacs from time to time, it's able to suck
all your memory.

To diagnose the problem, I used xrestop, a tool that "provides 'top' like
statistics of each connected X11 client's server side resource usage"
(http://www.freedesktop.org/Software/xrestop). Memory used by emacs goes
into the column "Pxm mem".

I could not find any error, but the value of image-cache-eviction-delay is by default 1800 (30 minutes). You can try to lower it to a minute or so and see if it helps. Also note that Emacs only clears images after every 50:th redisplay. A redisplay is done very often (C-x C-f C-g triggers one, so does displaying a tool tip) so that should not be a problem.

        Jan D.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]