Skip to content

Instantly share code, notes, and snippets.

@ctcherry
Forked from radermacher/GIT Memory Issue
Created October 15, 2019 18:12
Show Gist options
  • Save ctcherry/438bf9b62ab5a83a3f842a912fd895a3 to your computer and use it in GitHub Desktop.
Save ctcherry/438bf9b62ab5a83a3f842a912fd895a3 to your computer and use it in GitHub Desktop.
GIT: If run into memory issue on server or local, reduce memory usage by
git config --global core.packedGitWindowSize 16m
git config --global core.packedGitLimit 64m
git config --global pack.windowMemory 64m
git config --global pack.packSizeLimit 64m
git config --global pack.thread 1
git config --global pack.deltaCacheSize 1m
# Source: http://uberspace.de/dokuwiki/development:git#ram-nutzung
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment