all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Chong Yidong <cyd@stupidchicken.com>
To: rms@gnu.org
Cc: Michael Schierl <schierlm@gmx.de>, emacs-devel@gnu.org
Subject: Re: [schierlm@gmx.de: Display problems after lots of different (generated) images have been shown]
Date: Fri, 24 Aug 2007 16:44:10 -0400	[thread overview]
Message-ID: <871wdsu0h1.fsf@stupidchicken.com> (raw)
In-Reply-To: <E1IN8zU-0001Q2-Ct@fencepost.gnu.org> (Richard Stallman's message of "Mon\, 20 Aug 2007 11\:16\:28 -0400")

> I have an eLisp file that dynamically generates XPM images and shows
> them (25 at a time, and then they are removed from the buffer again).
>
> After using Emacs for a while, it seems that Emacs has problems
> redisplaying itself (not only the images, but also other graphical
> elements display incorrectly).
>
> If I still used Win98 I'd say it is a lack of GDI objects, but I am
> using WinXP and do not think one could reach the GDI object limit there.
>
> I am sure that I do not hold any stale references to these images, but
> it seems that they still consume some kind of resources. Killing buffers
> or running M-x garbage-collect does not help either.
>
> The leak occurs both with xpm and xbm files (which are the only two
> formats suitable for dynamic generation in my opinion). The problem does
> not occur if the same image is shown over and over, only if images are
> different.

I think this was due to a memory leak in xpm_load that was fixed in
June.

      reply	other threads:[~2007-08-24 20:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-20 15:16 [schierlm@gmx.de: Display problems after lots of different (generated) images have been shown] Richard Stallman
2007-08-24 20:44 ` Chong Yidong [this message]

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

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

  git send-email \
    --in-reply-to=871wdsu0h1.fsf@stupidchicken.com \
    --to=cyd@stupidchicken.com \
    --cc=emacs-devel@gnu.org \
    --cc=rms@gnu.org \
    --cc=schierlm@gmx.de \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.