Signal uses too much data on storage / can't clear data with signal
I have:
- [x] searched open and closed issues for duplicates
- [x] read https://github.com/WhisperSystems/Signal-Android/wiki/Submitting-useful-bug-reports
Bug description
Signal uses too much data on storage.
Steps to reproduce
- Send videos pictures whatever with a fresh install.
- delete all chats. for group chats handle like this: clean completly from inside the group.
- data wont drop on install size. e.g. with 2 group chats (1st: 4user; 2nd: 10 user), Signal consumes 187MB in Total!
- i checked for empty signal download folders "movies" and "pictures"
- 3-4 days ago i cleared (clear data) a total empty signal (same 2 groups) with storage use of 1,38GB! these days later: im back on 187MB.
Actual result: maybe the group chats need that much storage??? i dont hope so!
Expected result: When i delete all like my describtion above, signal should drop on install size. (correct me if im wrong, but 150MB for 2 emtpy group chats is too much)
Screenshots

Device info
Device: S3 LTE (Intl.) Android version: 5.1.1 Signal version: 3.16.0
Link to debug log
https://gist.github.com/01a0bdc4fa5671bb4e4635e586d04264
I can confirm this issue under Android 5+. Signal occupied over 1,5 GB app data although the Data (Text of conversation + Images + Videos + Audio) were really around 400MB in total (confirmed by exporting text and all media!!!). Deleting every Signal conversation dropped the App Data to 1,1GB as expected. So there are 1,1 GB "shadow data" that Signal itself does not free again. Only solution is to delete the AppData from the Application Manager in Android.
I have also an Android 4.4 phone where the exact same data are present and there Signal only takes up around 400MB!.
i can confirm this (around 220MB) also for Android 6.0.1
Can you also confirm that Android 4.4 is not affected?
I have the same problem on my Nexus 5 with Android 6 running and on a Motorola Moto G 2nd Gen. Are there some more informations about the problem?
It would be nice to have a functionality to clear/remove messages in conversations which are old than X. I don't wont to delete all my messages.
@floriangosse
It would be nice to have a functionality to clear/remove messages in conversations which are old than X. I don't wont to delete all my messages.
You can already trim conversations and remove old messages. You can trim conversations in the following way: Go to settings -> conversations and media -> trim messages: activate and set treshold
I don't know the exact naming because my signal runs in German. There it is: Einstellungen -> Unterhaltung und Medieninhalte -> Unterhaltung kürzen: aktivieren und Limit einstellen
Thanks @patzi. I didn't see it.
@floriangosse @patzi Unfortunately deleting all messages wont help at all! Thats what this bug is about! I can delete all conversations and there is still 1 GB of data allocated. Signal allocates storage without needing it, this is a severe bug, because it eats up internal storage and the only way to resolve is to delete all app data, but then you need to reregister signal.
I can also confirm this. Depending on how many pictures, media, etc. get send either in group oder single user conversations the data folder gets clogged up quite fast. After just a couple of weeks of moderate usage with just 3 users Signal has become the single largest app on my phone by far. Its currently about 1.2 GB and growing...
As mentioned, the trimming option in the settings doesnt work. Messages get cut, but the overall size remains unchanged.
This happens on Android 4.4 as well as Android 2.3. In both cases specifically the app_captures folder under data/org.thoughtcrime.securesms/ is full with lots of .blob files segmented at 165.39 MB each. This alone amounts for about 1 GB of the 1,2 GB size.
The same problem/behaviour occurs on the other end at the 3 users as well. Their Signal also grows horrendously big.
Please fix this if possible, cause for long term media conversations it doesnt seem very promising in this state.
I have the same issue. Signal is using 310 MB and is still growing. Android 4.4.2.
I think this issue may be harder to reproduce now. Until August photos in group conversations have been sent in full resolution, see https://github.com/WhisperSystems/Signal-Android/issues/5461 This is "fixed" now (in quotes because the picture quality is a real pain now, but thats another issue). I have not fully tested, but I guess the storage problem may be a little bit less clear to reproduce now, since it's not easily possible now to send a picture with more than 200kB due to pictures getting compressed so heavily!
Failed to reproduce this with a one-on-one chat in an API 23 emulator. I did the following:
- send a message with a GIF attached
- go back to the inbox
- delete thread
The attachment was correctly deleted and Signal's storage usage went back to where it was before. Anything else I need to do to trigger this?
(Sorry. Missclicked) I think this is an old issue and can be closed maybe? People should report for the newest version. In my case its working now fine.
This is definetely not over. Signal uses a lot mb on the phone. And it wont just go away. I just saved all the pictures in my chats to sd card and then deleted all the chats. At apps it shows 589mb data on device for signal. After reset and app update its still the same allthough there is no simgle chat or picture or whatever in signal. This is on a sony m4 aqua. The only way I got it away on my own phone. a sony z2 is by deleting data in the phones app settings screen. But then the app completely resetted and, I got a new security code and all my friends had to accept that again. This makes the app unusable on phones with less phone memory.
@kaneelschep is your device rooted, and could you have a look where the space is going?
No and no. How to look where it is going?
On 1/29/17, Trolldemorted [email protected] wrote:
@kaneelschep is your device rooted, and could you have a look where the space is going?
-- You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub: https://github.com/WhisperSystems/Signal-Android/issues/5515#issuecomment-275943056
I do not believe there is an easy way without having root privileges, but maybe someone knows a way around.
Does anyone who has this problem have a rooted android, can could give us some hints where the memory goes?
root@kenzo:/ # du -sh /data/data/org.thoughtcrime.securesms/*
4.0K /data/data/org.thoughtcrime.securesms/app_captures
134M /data/data/org.thoughtcrime.securesms/app_parts
4.0K /data/data/org.thoughtcrime.securesms/app_textures
56K /data/data/org.thoughtcrime.securesms/app_webview
219M /data/data/org.thoughtcrime.securesms/cache
92K /data/data/org.thoughtcrime.securesms/code_cache
2.0M /data/data/org.thoughtcrime.securesms/databases
20M /data/data/org.thoughtcrime.securesms/files
0 /data/data/org.thoughtcrime.securesms/lib
20K /data/data/org.thoughtcrime.securesms/shared_prefs
This is from my phone, i am not sure which sizes would be normal though. According to my android's app settings, signal consumes 157MB "data" and 219MB "cache".
Save all the pictures from the chats, and see how much mb it is. Then if you want. Remove them from the chats and see if the data dissapears from setting/apps/signal....
I think using 360mb is allready a lot ;-) whatsapp would never have that. And i never ever in years deleted any chats in whatsapp.
Does that require me manually going through all chats?
360MB isn't that much if you receive many media attachments, i think. If no one with this problem can enlighten us where the space is going, we cannot do much about it.
Maybe there are workarounds like moving signal to the sdcard, and mounting the sdcard on your pc? Or does adb pull work on non-rooted devices for every folder? Or can you use run-as?
You can save all images from a chat at the same time. So not picture by picture. Doesnt take that much time. In a chat click on right top 3balls. All images. Save. They will be saved in pictures folder.
Signal cant be moved to sdcard.
Op 31 jan. 2017 09:39 schreef "Trolldemorted" [email protected]:
Does that require me manually going through all chats?
360MB isn't that much if you receive many media attachments, i think. If no one with this problem can enlighten us where the space is going, we cannot do much about it.
Maybe there are workarounds like moving signal to the sdcard, and mounting the sdcard on your pc? Or does adb pull work on non-rooted devices for every folder? Or can you use run-as http://stackoverflow.com/questions/2078710/android-adb-access-to-application-databases-without-root ?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/WhisperSystems/Signal-Android/issues/5515#issuecomment-276305249, or mute the thread https://github.com/notifications/unsubscribe-auth/AYPjgSiq-ieZcLKRuVKf3neXXY5aVMTjks5rXvMvgaJpZM4IqAMV .