Mechanism to reduce caches when low on memory?

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

 



 Hello,

 does LO have any mechanism that would signal that the system is low on memory 
and LO should therefore e.g. drop its caches?

 In https://bugs.documentfoundation.org/show_bug.cgi?id=136244#c11 I got asked 
to make Skia's image cache size configurable or even make it use a "better" 
default size. Of course, there is no good size, whatever I choose. With 
smaller values the cache is not going to be large enough for some setups, 
with larger values the cache is going to waste memory for some setups.

 I've looked and e.g. the Graphics cache simply has a timeout, the VCL scale 
cache has a maximum number of items, i.e. it seems all caches have just a 
custom arbitrary value. Do we have something else than this? How do e.g. 
Android/iOS handle this?

-- 
 Luboš Luňák
 l.lunak@xxxxxxxxxxxxx
_______________________________________________
LibreOffice mailing list
LibreOffice@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/libreoffice




[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux