unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
Subject: [mathieu@newview.com: X Window resource leakage]
Date: Sun, 25 Apr 2004 14:09:02 -0400	[thread overview]
Message-ID: <E1BHo3q-0004Wy-1x@fencepost.gnu.org> (raw)

Could someone please investigate this?  I don't know if this is a bug
or if nobody has ever written code to free the images in the X server.
It would seem like a good idea to free any image that has not
been displayed in some period of time (10 minutes) and which is
not currently on the screen.

------- Start of forwarded message -------
Date: Fri, 23 Apr 2004 22:27:05 -0400
From: Mathieu Chouquet-Stringer <mathieu@newview.com>
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".

Am I the only one seeing this? Any idea?

Regarding the other thing (which is probably more a gnus thing), how come
some pictures are displayed internally and some others are not?

- -- 
Mathieu Chouquet-Stringer                 E-Mail: mathieu@newview.com
       Never attribute to malice that which can be adequately
                    explained by stupidity.
                     -- Hanlon's Razor --


_______________________________________________
Bug-gnu-emacs mailing list
Bug-gnu-emacs@gnu.org
http://mail.gnu.org/mailman/listinfo/bug-gnu-emacs
------- End of forwarded message -------

             reply	other threads:[~2004-04-25 18:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-25 18:09 Richard Stallman [this message]
2004-07-27 12:23 ` [mathieu@newview.com: X Window resource leakage] Jan D.

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=E1BHo3q-0004Wy-1x@fencepost.gnu.org \
    --to=rms@gnu.org \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).