[Top][All Lists]

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

Re: Display problems after lots of different (generated) images have bee

From: Michael Schierl
Subject: Re: Display problems after lots of different (generated) images have been shown
Date: Sun, 19 Aug 2007 23:28:31 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv: Gecko/20070728 Thunderbird/ Mnenhy/

[forgot to put the list into CC:]

Jason Rumney schrieb:
>> Michael Schierl wrote:
>>>> 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.
>> You can find out if this is the problem by starting the Task 
>> Manager (Ctrl-Alt-Del) and while looking at the Processes tab, 
>> select the "Select Columns..." option from the View menu. There 
>> should be an option to show the number of GDI objects in use by 
>> each process. The limit on XP seems to be 9999 per process (you do
>>  seem to be inserting more images than that).

Thank you. For me it sometimes goes to 9999, and sometimes to 10000. (on
Win16 and "compatible" Win32 versions the limit was 16384 for all
processes together, which I reached regurlarly...)

>>>> 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.
>> Try M-: (clear-image-cache)

Thank you. This cures my problem. I reduced `image-cache-evicion-delay'
now, so most probably I won't run into that situation again.

However, the GDI object counter in task manager seems to wrap-around
when I clear the image cache; it shows 4294947622 (=0xFFFFB326)
afterwards. But that is most likely not a bug of Emacs :)


reply via email to

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