Mechanism to reduce caches when low on memory?

Mike Kaganski mikekaganski at hotmail.com
Tue Dec 8 16:00:43 UTC 2020


On 08.12.2020 18:50, Mike Kaganski wrote:
> Hi!
> 
> On 08.12.2020 18:30, Luboš Luňák wrote:
>>   does LO have any mechanism that would signal that the system is low 
>> on memory
>> and LO should therefore e.g. drop its caches?
> 
> I don't know of such a mechanism. We could possibly have something on 
> systems that allow that, like CreateMemoryResourceNotification on 
> Windows

https://dblohm7.ca/blog/2015/07/28/interesting-win32-apis/ suggests that 
"Gecko already has facilities for handling memory pressure events on 
other platforms", so maybe it's worth looking there to check for that.

-- 
Best regards,
Mike Kaganski


More information about the LibreOffice mailing list