element-hq / element-hq/element-android

App is extremly slowing down with big cache (media exchange)

Open
#8,726 1 comment 2 reactions 0 assignees View on GitHub
T-Defect
Dominant language
Kotlin
Stars
3.7k
Forks
917
PR merge metrics
No merged PRs in 30d

Description

We have the problem, that if we exchange many pictures or videos in a room, the app cache grows and grows. After a size of 1-2 GB the app gets really slow and sending message is delayed for 2-4 seconds.
Clearing the cache makes the app fast again, but if the cache grows again, it gets more and more unresponsive.

It is hard to reproduce after cleaning the cache.

Maybe it is related to:
https://github.com/element-hq/element-android/issues/8446

#### What did you expect?
Fast application.
#### What happened instead?
It is very slow with after a specific size of the cache.

### Your phone model

Pixel 8 pro

### Operating system version

Android

### Application version and app store

1.6.8

### Homeserver

_No response_

### Will you send logs?

No

### Are you willing to provide a PR?

No

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.