emacs-devel
[Top][All Lists]
Advanced

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

Re: Using the ImageMagick backend seems to leak memory


From: Tassilo Horn
Subject: Re: Using the ImageMagick backend seems to leak memory
Date: Thu, 06 Jan 2011 11:20:12 +0100
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux)

address@hidden writes:

Hi Joakim,

>> I just noticed that my emacs uses up more than a gigabyte memory.  It
>> is because of doc-view with ImageMagick backend.
>>
>> After starting my emacs, it needs ~50 MB.  Firing up doc-view on a
>> PDF and showing page one increases to ~80 MB.  Switching to other
>> pages increases about 30 MB every time.  Switching to already seen
>> pages doesn't increase the memory requirements.  (I convert the docs
>> with doc-view-resolution set to 200, so 30 MB a page might be
>> possible.)
>>
>> Killing the buffer doesn't free the memory again, neither do
>> (clear-image-cache) or (garbage-collect).  So how do I reclaim that
>> memory?
>
> Do you get the same result with (setq imagemagick-render-type 1) ?

I already used that.  Now I switched to 0, but that doesn't change
anything.  Memory is not reclaimed...

Bye,
Tassilo



reply via email to

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