element-hq / element-hq/element-android

treat disk_store.realm as cache

Open
#5,078 4 comments 2 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.