0

I get this error trying to git pull:

$git pull origin master
remote: Counting objects: 91, done.
remote: Compressing objects: 100% (79/79), done.
fatal: Out of memory, malloc failed (tried to allocate 2445656885 bytes)
fatal: unpack-objects failed

How can I resolve this?

I have tried setting some memory limits in the .gitconfig, but it did not help:

[pack]
    threads = 1
    deltaCacheSize = 128m
    packSizeLimit = 128m
    windowMemory = 128m
[core]
    packedGitLimit = 128m
    packedGitWindowSize = 128m

1 Answers1

0

2445656885 is approx 2.5 GB. A quite unusually large number, I am not sure if malloc even allowed to request this much. May be a sign of a software bug.Check your git installation.

ilkhd
  • 224