[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: address@hidden: Display problems after lots of different (generated)
From: |
Chong Yidong |
Subject: |
Re: address@hidden: Display problems after lots of different (generated) images have been shown] |
Date: |
Fri, 24 Aug 2007 16:44:10 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) |
> 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.