unshare --pid /bin/bash - fork cannot allocate memory

I'm experimenting with linux namespaces. Specifically the pid namespace. I thought I'd test something out with bash but run into this problem: unshare -p /bin/bash bash: fork: Cannot allocate me...