Open adein opened 7 years ago
I have a branch that uses ijson which might be a candidate for pull request.
I have to verify that it spits out the same output as the current version before I submit it.
Will try tonight.
Thanks, catskul. Keep us posted.
Large Hangouts JSON files cause Python to crash with a memory error while parsing the JSON file. This is because Python tries to parse the whole file at once.
Short-term solution: Edit the file in a text editor that supports large files and remove any Hangouts/non-SMS conversations.
Long-term solution: Change the JSON parsing to use a 3rd party stream-based parser instead of the native Python library.
Error trace: