Heh, adapted the script for multiple architectures and x86_32 works with 128MB of RAM, while somehow on x86_64 it OOMs before even reaching init (which to be fair is tcc).
(none)# df -h Filesystem Total Used Available Use% Mountpoint rootfs 42.20MiB 34.73MiB 7.46MiB 83% / devtmpfs 42.20MiB 0.00B 42.20MiB 0% /dev (none)# uname -a Linux (none) 6.6.29-0-lts #1-Alpine SMP PREEMPT_DYNAMIC Mon, 29 Apr 2024 08:10:40 +0000 i686 (none)# grep MemTotal /proc/meminfo MemTotal: 110948 kB