0

I'm trying to push code to github repo from my ubuntu server. But i continuously getting following error.

fatal: Out of memory, malloc failed (tried to allocate 318168757 bytes)
fatal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly
fatal: write error: Bad file descriptor

I have also tried to change in config file under .git folder.

Please help me.

1 Answers1

0

You need to update your .git/config file as below:

[core]
  packedGitLimit = 128m
  packedGitWindowSize = 128m

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

See Git on Windows, “Out of memory - malloc failed”

Community
  • 1
  • 1
pRaNaY
  • 24,642
  • 24
  • 96
  • 146