KnugiHK / WhatsApp-Chat-Exporter

A customizable Android and iOS/iPadOS WhatsApp database parser that will give you the history of your WhatsApp conversations in HTML and JSON. Android Backup Crypt12, Crypt14, Crypt15, and new schema supported.
https://wts.knugi.dev/
MIT License
521 stars 76 forks source link

HTML file does not load fully. #23

Closed newdrkhckr closed 1 year ago

newdrkhckr commented 1 year ago

I tried to open one of created HTML file in Google Chrome. HTML file size is around 100 mb. But seems like Chrome cant handle to open that file.

I tried multiple times and i recieved 'Out of Memory' and 'SBOX_FATAL_MEMORY_EXCEEDED' errors from chorme. It exceeds 12 GB ram useage when trying to open HTML file.

Also i tried to not include any whatsapp image media in HTML file with deleting Whatsapp Images directory. But I get same result still HTML file does not fully loads.

Are there any solution for this ?

newdrkhckr commented 1 year ago

UPDATE:

I tried other than chromium based browsers and it seems to open files that chromium based ones cant handle. Mozilla firefox seems to have working.

KnugiHK commented 1 year ago

How many messages does your chat have?

Maybe we can add an option for users to choose splitting the result HTML?

newdrkhckr commented 1 year ago

How many messages does your chat have?

Maybe we can add an option for users to choose splitting the result HTML?

Around 250k messages and 1k media file on one single chat. It would be great to have option for splitted outputs if possible.

velecto1 commented 1 year ago

Hi, I just want to double-check. Is this option already implemented? I suppose not, as I don't see it among new commits.

KnugiHK commented 1 year ago

It is not yet implemented. I just forgot to reopen this issue.

KnugiHK commented 1 year ago

I implemented the splitting feature. Feel free to try it in the dev branch and report any issues.

Note that the size is not the exact limit but a rough limit. The actual output size may exceed the limit.

KnugiHK commented 1 year ago

Released in 0.9.5.