Mechanism to reduce caches when low on memory?

antlists antlists at youngman.org.uk
Wed Dec 9 20:37:41 UTC 2020


On 09/12/2020 11:01, Luboš Luňák wrote:
>   Ok, but that's just trying harder to find that good size that does not exist.
> I am going to do these, I was just hoping there was also some (3) that would
> make these (1) and (2) rather irrelevant. But after googling for Linux and
> the Win32 API from Mike I'm not very convinced by what I've found, so I guess
> maybe later.

For linux, would looking at the code for xosview help? That displays the 
amount of free memory, the amount used as disk cache, etc.

So I guess you could say something like if free mem is less than say, 
10%, then you need to start dropping internal caches.

Cheers,
Wol


More information about the LibreOffice mailing list