-
-
Notifications
You must be signed in to change notification settings - Fork 6.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Signal uses too much data on storage / can't clear data with signal #5515
Comments
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!!!). 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. |
You can already trim conversations and remove old messages. You can trim conversations in the following way: I don't know the exact naming because my signal runs in German. There it is: |
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 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 #5461 |
Failed to reproduce this with a one-on-one chat in an API 23 emulator. I did the following:
The attachment was correctly deleted and Signal's storage usage went back to where it was before. |
(Sorry. Missclicked) |
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 ***@***.***> 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:
#5515 (comment)
|
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?
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" <notifications@github.com>:
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
<#5515 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AYPjgSiq-ieZcLKRuVKf3neXXY5aVMTjks5rXvMvgaJpZM4IqAMV>
.
|
From last time till now after clearing all fotos from chats. and clearing data in settings. So one month. Signal went from100mb to 1,5 gb. This is totally useless for people with small internal storage phones. And is clearly a serious problem for usability of signal. is is that hard to be possible to move to sdcard? |
Nothing. It just becomes unusable.
Op 19 jun. 2017 19:08 schreef "i7u" <notifications@github.com>:
… As a long-time Signal user, this is becoming critical, as my device's
internal storage is running out of space. Even though I trim all
conversations and set disappearing messages to 1 month by default, storage
usage keeps growing. Signal is now using 3.09 GB of "data", and the only
option seems to be to uninstall and reinstall the app, but that's a major
PITA as it will reset all sessions and freak out or confuse the people I
routinely talk to.
If I can't move Signal to the SD card, and there's no way to actually get
rid of data that's no longer visible in the app, what else can I do?
Signal version: 4.6.1
Android version: 6.0.1
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#5515 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AYPjgfBghh1IzGBVRtJ60904rnvWXk4Sks5sFqr0gaJpZM4IqAMV>
.
|
@i7u if you could find out where all the space is going i would be great. |
I'm kinda embarrassed to say I don't know how to do that. I installed a terminal emulator app on my phone (Termux) but I can't ls anything under /data - I get permission denied. With the built-in file manager, I can only see one folder under Device Storage > Android > data > org.thoughtcrime.sms - it's called "files" and allegedly has "0 items". Could you point me to instructions to list the contents of the right folder? |
yep, you need root |
Some stackoverflow answers and the adb doc suggest that However, the app needs to be debuggable - i don't know whether the official playstore build is, nor if you can switch to the beta version. |
I'm afraid I can't experiment with rooting my phone to collect this information. I only have one phone, and I need it for work. More than happy to collect the info as long as it doesn't jeopardize the functionality of the phone. |
for the sake of completeness
|
No not rooted.
Op 22 jun. 2017 23:13 schreef "p4nci" <notifications@github.com>:
… for the sake of completeness
bullhead:/ $ run-as org.thoughtcrime.securesms
run-as: Package 'org.thoughtcrime.securesms' is not debuggable
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#5515 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AYPjgdrXS_hhV-W2L0WJQwGsAEFq2gOFks5sGtjbgaJpZM4IqAMV>
.
|
damn. are the beta builds debuggable? |
@Trolldemorted |
I have tracked down the data and it all leads to the app_parts folder. There are hundreds of small files named "partXYZ.mms" with a size varying from a few kB up to 50 MB. Does anyone know what those files contain and if they are really needed? |
@ForGorNorPor yep, AFAIK tested with Signal v4.6.1 and v4.7.4 |
My Signal installation consumed more than 1 GB. Deleting attachments etc. seems to work well however I was only able to reduce the size to approx. 1GB. Checking the disk usage revealed: So most space seems to be allocated in app_captures. Checking that directory showed: What does the app_captures directory contains? Some files are pretty old. Is it safe to remove (some of) those files? |
@ForGorNorPor can you check whether deleting an attachment decreases the file count in that directory? @bme13 could you open some of the jpegs and have a look? |
@Trolldemorted they don't appear to be jpg files. Tried to determine the file type using the file command and that just says data file. Also the .blob files are data files according to the file command. |
Just had some more time for testing. It seems that the app_captures temporally stores the images / sound recordings (captures :-) ) e.g. when I take a picture I see a new file in the app_captures directory. Then after I send that picture the file is removed from the app_captures directory and shows up in the app_parts directory. So now my assumption is that this occasionally goes wrong and the capture file remains. I will try to reproduce that. |
@Trolldemorted sure, but how exactly do I remove media from my chats? :) I know that I can save them in the context menu and I found an option to globally trim all chats, but I would rather only pick some particular media files to delete and keep all text. Is this possible? |
@ForGorNorPor By long pressing on the media in the chat, a menu appears that allows you to delete that specific media item. |
Ok, that's a bit cumbersome, I hope that this fix will be applied some day. |
It seems that if you share a file this also is placed in the app_captures directory. After trying I found 2 ways to leave (large) files in that directory.
I think the first option is not very likely to happen however the second one is. |
I noticed my Signal app was taking up over 1gb of space today, and after searching and finding this issue, I tested the results from my phone. It is a Samsung Galaxy S6 running Android 7, with Signal 4.10.12. Size before cleanup: 1.16 GB
Size after cleanup: 128 MB |
There are some similar issues open on the iOS repo as well so it may not be specific to a mobile OS. Does Signal have a Patron or anything where we can support to get these things fixed? |
On iOS 11 (iPhone 6S) , I'm seeing signal use 1.71 GB with all messages deleted. I also notice that the performance (opening, typing, and sending messages) degrades greatly when the app gets so high into space usage. |
Sony z2 android 6. Just deleted all pictures from the 10 still existing
conversations. And signal is 1.34 gb..
Op 22 okt. 2017 20:59 schreef "Jesse Kunze" <notifications@github.com>:
… On iOS 11 (iPhone 6S) , I'm seeing signal use 1.71 GB with all messages
deleted. I also notice that the performance (opening, typing, and sending
messages) degrades greatly when the app gets so high into space usage.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#5515 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AYPjgRez8S3bL-i705HeLTBVAKXnTkh4ks5su5CsgaJpZM4IqAMV>
.
|
Perhaps an other cause for the application size is #6909 |
GitHub Issue Cleanup: |
I have:
Bug description
Signal uses too much data on storage.
Steps to reproduce
e.g. with 2 group chats (1st: 4user; 2nd: 10 user), Signal consumes 187MB in Total!
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
The text was updated successfully, but these errors were encountered: