element-hq / element-hq/element-android
treat disk_store.realm as cache
Open
A-Performance
T-Enhancement
X-Needs-Product
Z-Realm
- Dominant language
- Kotlin
- Stars
- 3.7k
- Forks
- 917
- PR merge metrics
- No merged PRs in 30d
Description
### Your use case
I found that file `disk_store.realm` is 1GB (huge).
The containing data I totally recoverable from server (just tested). Hence it is cache by it's nature.
I'd like this data to be somehow discardable in case of storage shortage.
### Have you considered any alternatives?
manual
> rm Grip:/data/data/im.vector.app/files/*/disk_store.realm
then restart the app.
### Additional context
Storage constrained devices
Contributor guide
Assessment
This issue has not been assessed yet.