git pull Cannot allocate memory
Hello,
I am trying to do a git pull and I receive the following error:
[myuser@server1 public_html]$ git pull
/usr/libexec/git-core/git-sh-setup: fork: Cannot allocate memory
Is anybody else experiencing the same issue? Can anybody point me in the right direction?
Thank you.
-
Yea - your server is out of memory. If you're on a shared system and simply using shell access, my best guess is that your host has fork bomb protection enabled and set at the default (and unreasonably low) limits. First, you should run 'ps' to see what other processes are running as your user, and kill those off to free up some resources. If you've done this and the act of running 'git pull' is still a problem, you would need to talk to your host. Unless you have root access to the system we are not able to help you with this. 0 -
Hello, The previous post should help explain what's happening. Let us know if you have any additional questions. Thank you. 0 -
Hello, Yes, I have root access to the server. I will try your recommendation and switch some settings and come back with an update. Thank you. 0
Please sign in to leave a comment.
Comments
3 comments