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

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

Re: Emacs on Android OOMs with pdf-tools. (And an Android howto.)


From: Eli Zaretskii
Subject: Re: Emacs on Android OOMs with pdf-tools. (And an Android howto.)
Date: Thu, 22 Aug 2024 07:22:35 +0300

> From: Lockywolf <lockywolf@gmail.com>
> Date: Thu, 22 Aug 2024 08:50:42 +0800
> 
> Is it possible to tell Emacs to not generate so much cache?

Try playing with the value of image-cache-eviction-delay.

But how did you get to so many images? what images are they and what
did you do in Emacs to have them all loaded?  Emacs is not meant to be
used with so many images on a device that has such severe memory
limitations.

More importantly, if the OOM mechanism of the OS kicks in while Emacs
still thinks it has more memory to use, it means something is wrong
with how the available memory is being reported to Emacs.  Emacs
should have sensed that it is approaching the limit and signaled the
memory-full signal before that happens.  I think this warrants a bug
report, with a reproducer.



reply via email to

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