Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attempt To Scale Disk Cache Size With Filesystem Capacity #4

Closed
JakeWharton opened this issue May 14, 2013 · 0 comments · Fixed by #30
Closed

Attempt To Scale Disk Cache Size With Filesystem Capacity #4

JakeWharton opened this issue May 14, 2013 · 0 comments · Fixed by #30

Comments

@JakeWharton
Copy link
Collaborator

Old phones had really small internal storages so we don't want to destroy them. New phones have oogles of disk space so we should take a bigger chunk for ourselves.

https://developer.android.com/reference/android/os/StatFs.html

JakeWharton added a commit that referenced this issue May 21, 2013
Memory cache now has a ceiling of 20MB. Also fixes a logic error for looking up the large memory class when the large heap flag was set.

Disk cache now scales between 5MB and 50MB, favoring 1% of the storage space on the target filesystem.

Closes #4.
JakeWharton added a commit that referenced this issue May 22, 2013
Memory cache now has a ceiling of 20MB. Also fixes a logic error for looking up the large memory class when the large heap flag was set.

Disk cache now scales between 5MB and 50MB, favoring 1% of the storage space on the target filesystem.

Closes #4.
JakeWharton added a commit that referenced this issue May 22, 2013
Memory cache now has a ceiling of 20MB. Also fixes a logic error for looking up the large memory class when the large heap flag was set.

Disk cache now scales between 5MB and 50MB, favoring 1% of the storage space on the target filesystem.

Closes #4.
JakeWharton added a commit that referenced this issue May 22, 2013
Memory cache now has a ceiling of 20MB. Also fixes a logic error for looking up the large memory class when the large heap flag was set.

Disk cache now scales between 5MB and 50MB, favoring 1% of the storage space on the target filesystem.

Closes #4.
@itcayman itcayman mentioned this issue Nov 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant