element-hq / element-hq/element-android

Element temporarily consumes >1 GB of "user data"

Open
#2,620 27 comments 6 reactions 0 assignees View on GitHub
Z-Realm
Dominant language
Kotlin
Stars
3.7k
Forks
917
PR merge metrics
No merged PRs in 30d

Description

I apologize, this isn't going to be a great bug report :(

Element Android 1.0.13 consumed >1 GB of "User data" storage on my phone. This grew by hundreds of MB in the matter of minutes. I don't know the cause. I force-stopped the app and denied it background data access (to prevent push notifications from restarting it) to stop the growth (this worked).

I am in a rC3-related chat room (a virtual hacker con that happened about a week ago). I did not see visible activity there, but if someone is spamming/trolling, it's probably in there.

I grabbed an adb bugreport ~30 minutes after I disabled the app. Grepping for "im.vector.app" yields only ~1800 lines and when scrolling through the logcat section, I didn't see anything interesting there either.

**After I accidentally tapped on the app, the storage went down to ~90 MB.**

The app's WiFi data usage was ~500 MB over the past month, which isn't too surprising given that I also used it for some phone calls. I have a screenshot of the data usage graph that I could use to determine whether significant additional usage happened around the time of the bug (killed the app ~08:30 UTC+1 today).

**Developer mode is enabled.** Verbose logging is disabled.

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.