Open flexxyfluxx opened 9 months ago
Lowering compression to mx=5 solved this for me.
I don't know if this would be enough for a system w/ less ram (eg. 8gb) though..
7-Zip Ultra (mx=9) compression does indeed use lots of memory. The latest release, v1.0.12, should alleviate this issue by using maximum compression instead. If the problem's still going to persist I can set it to normal compression.
Device info
Manufacturer: Nothing Android version: Nothing OS 1.5.2 (= Android 13) Custom ROM/rooted? no Model: Nothing Phone (1)
System info
Available disk space: >250GB Operating system: Arch Linux RAM: 16GB
When backing up my phone with
backup.sh
, everything runs smoothly. Files are retrieved, etc.Then, when the script creates the final .7z archive, my computer inevitably runs out of memory and (presumably) gets killed by the OS. This causes the archive to become corrupted (and unreadable as an archive) in one way or another, and the script will terminate after 5 failed attempts to open / continue adding to the archive.