The line ./selfie -l selfie.m -m 2 -l selfie.m -y 1 -l selfie.m -m 1 introduced with commit d17ddca for "make os" is too restrictive with memory.
Adding ~1000 lines of code to the current base selfie implementation results in palloc out of physical memory.
For me, using ./selfie -l selfie.m -m 3 -l selfie.m -y 2 -l selfie.m -m 1 resolved this error.