You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 21, 2023. It is now read-only.
I am using this cache to store many many small files. I set a max of 256MB but the cache grows up to more than 450MB. That's because each small file takes at least 4kb in disk. Since this is a disk cache I would assume that setting a max would take block size in consideration.
The text was updated successfully, but these errors were encountered:
Best advice is to work-around by setting the cache size smaller. From the Javadocs:
* <p>This cache limits the number of bytes that it will store on the
* filesystem. When the number of stored bytes exceeds the limit, the cache will
* remove entries in the background until the limit is satisfied. The limit is
* not strict: the cache may temporarily exceed it while waiting for files to be
* deleted. The limit does not include filesystem overhead or the cache
* journal so space-sensitive applications should set a conservative limit
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I am using this cache to store many many small files. I set a max of 256MB but the cache grows up to more than 450MB. That's because each small file takes at least 4kb in disk. Since this is a disk cache I would assume that setting a max would take block size in consideration.
The text was updated successfully, but these errors were encountered: