After a long time with -Xms32M it finally came back with just:
Bus error
I've tried creating a swap image:
dd if=/dev/zero of=/swapfile bs=1024 count=65536
I'm still waiting for it to complete, I can see the swapfile being created in another session.