trying to clone a big repository, I got:
remote: fatal: Out of memory, malloc failed (tried to allocate 190135255 bytes)
Saw that there is a possible configuration into ~/.gitconfig
or .git/config
in the client, but as it seems to be the server which is enable to generate such a big file before passing it where can I configure the size of max malloc on the server?
My system's server is
pi@domP3: ~$ git --version
git version 2.11.0
pi@domP3: ~$ lsb_release -a
No LSB modules are available.
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 9.4 (stretch)
Release: 9.4
Codename: stretch