Stack setup fails with resource exhausted


I’m trying to setup a workspace for Haskell development using the stack tool. I add the PPA then install stack which works fine, but running stack setup fails installing GHC with “resource exhausted”. I checked and I’m not out of diskspace - any other resource constraint that may apply in this environment?

resource exhausted
make[1]: *** [install_packages] Error 1
make: *** [install] Error 2