Se eu executar este comando:
XZ_OPT=-9 tar --xz -cvf files/compressed/xz/archive.tar.xz -C files/original/ .
Receba esta mensagem:
xz: (stdin): Cannot allocate memory
tar: files/compressed/lzma//archive.lzma: Wrote only 4096 of 10240 bytes
tar: Error is not recoverable: exiting now
Que tipo de memória é? Ou como configurá-lo para que funcione.
EDIT: (informação adicional)
Tamanho total do arquivo que eu quero compactar: 18.92M
Gzip Bzip2 ZIP - funciona bem
xz --info-memory
:
Total amount of physical memory (RAM): 595 MiB (623116288 B)
Memory usage limit for compression: Disabled
Memory usage limit for decompression: Disabled
ulimit -a
:
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 2312
max locked memory (kbytes, -l) 64
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 0
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 2312
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited