From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Jan D." Newsgroups: gmane.emacs.bugs Subject: (no subject) Date: Thu, 29 Jul 2004 08:40:11 +0200 Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: <23B245CA-E12A-11D8-BA9E-000D93505B76@swipnet.se> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 (Apple Message framework v618) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1091083267 32598 80.91.224.253 (29 Jul 2004 06:41:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 29 Jul 2004 06:41:07 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jul 29 08:40:56 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Bq4b1-0002My-00 for ; Thu, 29 Jul 2004 08:40:55 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Bq4eC-0002nn-FA for geb-bug-gnu-emacs@m.gmane.org; Thu, 29 Jul 2004 02:44:12 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1Bq4eB-0002mc-4G for bug-gnu-emacs@gnu.org; Thu, 29 Jul 2004 02:44:11 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1Bq4e9-0002lZ-DY for bug-gnu-emacs@gnu.org; Thu, 29 Jul 2004 02:44:10 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Bq4e9-0002lW-AL for bug-gnu-emacs@gnu.org; Thu, 29 Jul 2004 02:44:09 -0400 Original-Received: from [195.54.107.73] (helo=mxfep02.bredband.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Bq4ao-00020r-8f for bug-gnu-emacs@gnu.org; Thu, 29 Jul 2004 02:40:42 -0400 Original-Received: from coolsville.localdomain ([213.115.26.74] [213.115.26.74]) by mxfep02.bredband.com with ESMTP id <20040729064040.RLDW23867.mxfep02.bredband.com@coolsville.localdomain>; Thu, 29 Jul 2004 08:40:40 +0200 Original-To: mathieu@newview.com X-Mailer: Apple Mail (2.618) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:8569 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:8569 > ------- Start of forwarded message ------- > Date: Fri, 23 Apr 2004 22:27:05 -0400 > From: Mathieu Chouquet-Stringer > To: bug-gnu-emacs@gnu.org > Content-Disposition: inline > Subject: X Window resource leakage > Sender: bug-gnu-emacs-bounces+rms=gnu.org@gnu.org > 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 (21.3.50.2) 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.