Fork failed: Cannot allocate memory

I recently ran into a similar issue with this, with a pretty elaborate call flow, It was on a VM and adding RAM fixed the issue.