The memory usage on my PC is often quite low. Only 10% of the time I use almost all memory that's availble. But 90% the GBs free memory could better be used for FancyCache.
So my suggetion is that the user configures FancyCache memory usage as it's right now.
But with an extra option that allows Fancy Cache grab as much memory as it needs.
So for example:
- Buffers are set at 200MB
- Lots of diskacces
- Fancy Cache "thinks" performance will increase if it could increase it's buffer.
- I checks free memory and increases it's buffer to 1GB
- If the memory load increases or the cache si no longer needed Fancy Cache decreases it's buffer(s)