bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#38345: 27.0.50; Permanent increase in memory consumption after openi


From: Ihor Radchenko
Subject: bug#38345: 27.0.50; Permanent increase in memory consumption after opening images (or pdfs)
Date: Thu, 28 Nov 2019 21:11:25 +0800

> When Emacs frees memory, it's not normally returned to the OS.  Is that
> what you're seeing?

It's indeed not returned to the OS (as from previous discussion), which
is fine as soon as emacs can reuse the owned memory.
When I clear the image cache after closing every single image buffer,
emacs does seem to reuse the owned memory.
However, when the cache is cleared less frequently, it does not seem to
be the case - emacs just claims more memory from the system.
What I saw from my last test is that there is no significant difference
in the final memory consumption if I don't clear the image cache or
clear it every 5 seconds (around every 10-20 opened/killed images).

Best,
Ihor

Lars Ingebrigtsen <larsi@gnus.org> writes:

> Ihor Radchenko <yantar92@gmail.com> writes:
>
>> It appears to me that clearing image cache has some problem when there
>> is a relatively large number of images in the cache already.
>
> When Emacs frees memory, it's not normally returned to the OS.  Is that
> what you're seeing?
>
> -- 
> (domestic pets only, the antidote for overdose, milk.)
>    bloggy blog: http://lars.ingebrigtsen.no






reply via email to

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