xeals / signal-back

Decrypt Signal encrypted backups outside the app
Apache License 2.0
700 stars 66 forks source link

Format command causes fast memory congestion #49

Open spaceChRiS opened 5 years ago

spaceChRiS commented 5 years ago

Detailed description

Extract, check, and analyse commands work as intended, but format fills up the available memory quickly (no matter which format chosen). The backup file size is 1.8 GB, extracted media is 1.6 GB, on a machine with 8 GB of RAM.

Full relevant output

n/a

spaceChRiS commented 5 years ago

Hm, it seems only the xml output is affected. I accidentally forgot the -f and had command lines such as signal-back format raw --pwdfile ../pwdfile ../signal.backup >> test.raw which caused the issue (and should be caught to not expose this issue), while after inserting the -f the issue is gone. However, for xml as output format, the issue still exists.