If i run this command:XZ_OPT=-9 tar --xz -cvf files/compressed/xz/archive.tar.xz -C files/original/ .Get this message:xz: (stdin): Cannot allocate memorytar: files/compressed/lzma//archive.lzma: Wrote only 4096 of 10240 bytestar: Error is not recoverable: exiting nowWhat type of memory it is? Or how do i set it to make it work.EDIT: (aditional info)Total file size that I want to compress: 18.92MGzip    Bzip2   ZIP - works OKxz --info-memory:Total amount of physical memory (RAM):  595 MiB (623116288 B)Memory usage limit for compression:     DisabledMemory usage limit for decompression:   Disabledulimit -a:core file size          (blocks, -c) 0data seg size           (kbytes, -d) unlimitedscheduling priority             (-e) 0file size               (blocks, -f) unlimitedpending signals                 (-i) 2312max locked memory       (kbytes, -l) 64max memory size         (kbytes, -m) unlimitedopen files                      (-n) 1024pipe size            (512 bytes, -p) 8POSIX message queues     (bytes, -q) 819200real-time priority              (-r) 0stack size              (kbytes, -s) 8192cpu time               (seconds, -t) unlimitedmax user processes              (-u) 2312virtual memory          (kbytes, -v) unlimitedfile locks                      (-x) unlimited
XZ - Cannot allocate memory
shell;debian;tar;xz
In man xz, you'll find that -9 requires 674 MiB of memory for compression (and that it's only useful if you're compressing files bigger than 32 MiB). Try adding about this much swap to provide enough virtual memory for the operation (assuming you're using all your current memory for other purposes).