tvdstaaij / telegram-history-dump

Backup Telegram chat logs using telegram-cli
Other
664 stars 84 forks source link

Crush poor system #86

Open ashkov opened 7 years ago

ashkov commented 7 years ago

When I run telegram-history-dump on aws micro with 1Gb Mem, the system stop answer after dumping approximately 30000 rows. I think, it is necessary to add configuration option to split initial download by chunks and repeat it several times until end. And make memory free each time

tvdstaaij commented 7 years ago

This is indeed a problem with the current release and large dialogs (also see #57). I already implemented a fix that should work but hasn't been tested thoroughly yet, see #74. You can try that version by switching to its feature branch (git checkout dump-old-to-new). Note that this branch contains semver-major changes and requires a fresh backup (delete the output directory first if it exists). If you want to try this it would be appreciated if you report your findings in issue #74.