If there isn't enough memory to fully unpack the initramfs, Linux 4.x kernels will log a message and silently proceed with a partial filesystem, instead of panic/halt. The resulting failures can take time to root-cause. Haven't tested on 5.x kernels, but similar code is still present:
https://github.com/torvalds/linux/blob/master/init/initramfs...