[GRLUG] git memory issue

Grand Rapids Linux Users Group grlug at grlug.org
Mon Mar 28 10:06:58 EDT 2022


Cleaned up a repo and added a new remote on an older server (v1.6.4.7),
but pushing thows a memory error:

$ git push--set-upstream master master
Enumerating objects: 1502, done.
Counting objects: 100% (1502/1502), done.
Delta compression using up to 2 threads
Compressing objects: 100% (1496/1496), done.
fatal: Out of memory, malloc failed

The problem seems to be that newer versions of git (v 2.25.2) do not honor
older memory parameters:

[core]
  packedGitLimit = 128m
  packedGitWindowSize = 128m

[pack]
  deltaCacheSize = 128m
  packSizeLimit = 128m
  windowMemory = 128m

[http]
  postbuffer = 5m

Anyone know how to limit memory usage with 2.26?

	Thanks!


More information about the grlug mailing list