andreas-mausch / whatsapp-viewer

Small tool to display chats from the Android msgstore.db database (crypt12)
https://andreas-mausch.de/whatsapp-viewer/
MIT License
1.23k stars 381 forks source link

hang up by large chats #113

Open PatrickKranig opened 3 years ago

PatrickKranig commented 3 years ago

HI, i had a chat over 200.000 messages and encrpt my chat with the key file (from a root device), it hang up by view the chats?

is there a workaround for the problem?

NioBee commented 3 years ago

have you tried the latest release? (WhatsApp.Viewer v1.13) I have a lot of huge chats but I can see them all correctly.

PetarCRO commented 3 years ago

It crashes for me as well. (200.000+ messages in one chat) Smaller ones work fine.

PatrickKranig commented 3 years ago

mh, it still charges infinitely long at 1.13

PatrickKranig commented 3 years ago

i must export it ? öÖ

PetarCRO commented 3 years ago

I was trying to export it anyway in json format, but it crashes. :(

PatrickKranig commented 3 years ago

mh öÖ i had 199.999 messages... over 200.000 crashes?!

PatrickKranig commented 3 years ago

it crashes now too lol? big issue i think ... i want backup chats with my wife =(

chetanlodha commented 3 years ago

Chat loads and exports fine for me for a chat with over 350,000 messages. Takes a lot of time to load though

JXWw3wLD9LArcR7c commented 3 years ago

I doubt there is a way to fix this issue completely, maybe performance can be improved, but if your device has to process a lot of messages all of the sudden it makes sense that the app will crash or freeze for a while. I see this happen in other applications like this (for other apps)

A solution I can suggest is buffering the chats, so only a certain amount of messages will load, and more will load as you scroll. But I am not sure if this is possible (if it was optional it would be cool)

This doesn't happen to some people simply because they have better hardware, try to not have programs running in the background. I advise exporting the chats into txt

PetarCRO commented 3 years ago

https://github.com/PetarCRO/Whatsapp-Parser

I made this script in Python which worked perfectly for me. :) It took the script about 1 min to read from the database and write to excel file. I will make an executable soon.

Acimaz commented 2 years ago

Same issue here, could not save the chat (over 850k messages). The viewer freezes and then crashes without an error. Is there another manual way of doing so? The Whatsapp parser above seems to need a "pandas" package for execution. I'll try to make it work (not a python dev here, but with some research maybe I'll find a way).