Skip to content

Instantly share code, notes, and snippets.

@Long18
Last active March 15, 2024 03:09
Show Gist options
  • Save Long18/c2a31b8d667eb6c3e428d9bc2611efc6 to your computer and use it in GitHub Desktop.
Save Long18/c2a31b8d667eb6c3e428d9bc2611efc6 to your computer and use it in GitHub Desktop.
The error: "fatal: unable to create thread: Resource temporarily unavailable" when you using git in command line without ssh. In my case:
# Set the window memory size for Git's pack operation to 100 MB
git config --global pack.windowMemory "100m"
# Set the maximum size limit for a pack file in Git to 100 MB
git config --global pack.packSizeLimit "100m"
# Limit the number of threads Git will use for packing operations to 1
git config --global pack.threads "1"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment