Is there a particular reason behind setting git's packSizeLimit to 2GB by default in MSysGit?
As the default for packSizeLimit
is unlimited, running git gc
on large repos (something like 10 GiB in .git
) will likely lead to "out of memory" errors, depending on your machine's memory configuration. That's why it was decided to set sensible defaults.