Hi,
I created an armv6h enviroment with qemu_arm_static on an x86_64 machine.
Inside this chroot, zstd get memory allocation error with --ultra -20. (--ultra -19 works.)
However, I have 186Gi RAM available.
Could anyone help to take a look?
BTW, how much RAM do --ultra -20 and --ultra -19 actually need?
Also qemu_arm_static has an option called QEMU_STACK_SIZE and now it's 8388608 byte (8MB). Is this relevant?
Log:
[alarm@alarm unzip]$ echo a > a.txt
[alarm@alarm unzip]$ echo a.txt | zstd -v -c -T0 --ultra -20 - > PKGBUILD.zst
*** zstd command line interface 32-bits v1.4.4, by Yann Collet ***
Note: 16 physical core(s) detected
zstd: error 11 : Allocation error : not enough memory
[alarm@alarm unzip]$ echo a.txt | zstd -v -c -T0 --ultra -19 - > PKGBUILD.zst
*** zstd command line interface 32-bits v1.4.4, by Yann Collet ***
Note: 16 physical core(s) detected
/*stdin*\ :316.67% ( 6 => 19 bytes, /*stdout*\)
[alarm@alarm unzip]$ free -h
total used free shared buff/cache available
Mem: 188Gi 902Mi 183Gi 1.0Mi 4.5Gi 186Gi
Swap: 0B 0B 0B
PS. The chroot is created by devtools-qemu on Archlinux.
Anyone using Archlinux can also get a similiar chroot with this script and use arch-chroot to chroot into it.
Hi,
I created an armv6h enviroment with
qemu_arm_staticon an x86_64 machine.Inside this chroot, zstd get memory allocation error with
--ultra -20. (--ultra -19works.)However, I have 186Gi RAM available.
Could anyone help to take a look?
BTW, how much RAM do
--ultra -20and--ultra -19actually need?Also
qemu_arm_statichas an option calledQEMU_STACK_SIZEand now it's 8388608 byte (8MB). Is this relevant?Log:
PS. The chroot is created by devtools-qemu on Archlinux.
Anyone using Archlinux can also get a similiar chroot with this script and use
arch-chrootto chroot into it.