From: René Scharfe Date: Wed, 01 Mar 2017 10:02:51 GMT Subject: Re: git status --> Out of memory, realloc failed Message-ID: In-Reply-To: <84c02ca1-269e-2f26-c625-476d7f087f5c@cafu.de> Am 25.02.2017 um 11:13 schrieb Carsten Fuchs: > Dear Git group, > > I use Git at a web hosting service, where my user account has a memory > limit of 768 MB: > > (uiserver):p7715773:~$ uname -a > Linux infongp-de15 3.14.0-ui16322-uiabi1-infong-amd64 #1 SMP Debian > 3.14.79-2~ui80+4 (2016-11-17) x86_64 GNU/Linux What's the output of "ulimit -a"? > (uiserver):p7715773:~$ git --version > git version 2.1.4 That's quite old. Can you try a more recent version easily (2.12.0 just came out)? I don't remember a specific fix, and memory usage perhaps even increased with newer versions, but ruling out already fixed issues would be nice. > (uiserver):p7715773:~/cafu$ git gc > Zähle Objekte: 44293, Fertig. > Komprimiere Objekte: 100% (24534/24534), Fertig. > Schreibe Objekte: 100% (44293/44293), Fertig. > Total 44293 (delta 17560), reused 41828 (delta 16708) > > (uiserver):p7715773:~/cafu$ git status > fatal: Out of memory, realloc failed > fatal: recursion detected in die handler > > The repository is tracking about 19000 files which together take 260 MB. > The git server version is 2.7.4.1.g5468f9e (Bitbucket) Is your repository publicly accessible? René