In the past few weeks (possibly since I upgraded to Sierra) I keep getting this weird issue in iTerm2 using ZSH.
Basically, at intermittent points during my regular workflow, commands will stop working properly with the error:
_run-with-bundler:5: fork failed: resource temporarily unavailable
zsh: fork failed: resource temporarily unavailable
Does anybody know why this is happening, and how I can fix it?
I had this issue for almost a week and it was driving me nuts because I would have to restart my computer every. single. time.
In my case, it was a cron process. I had the process running every minute which seemed to be using up a lot of memory. Steps to solve the problem in my case were.
Activity Monitor.
Activity Monitor
icon jumps up and down and doesn't open up, close down a some programs. In my case, I shut down Evernote and Slack. That freed up some memory, I think and Activity Monitor opened up.Process Name
tab inActivity Monitor
.cron
)x
to quit them all. .I will watch over the next few days. If anything changes, I will update. Otherwise, that means it worked.
Goodluck!