git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git status --> Out of memory, realloc failed

From
Carsten Fuchs <carsten.fuchs@cafu.de>
Date
Mar 1, 2017, 20:12 UTC
Message-ID
<cbd281fc-3a4b-b4dc-5dff-145c97cd68d6@cafu.de>
In-Reply-To
<ea0722e2-c2bd-bd80-a233-50676efcafda@web.de>
Hi René,
Am 01.03.2017 um 11:02 schrieb René Scharfe:
Show 8 quoted lines
>> 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:~$ ulimit -a core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited scheduling priority (-e) 1 file size (blocks, -f) unlimited pending signals (-i) 16382 max locked memory (kbytes, -l) 64 max memory size (kbytes, -m) unlimited open files (-n) 512 pipe size (512 bytes, -p) 8 POSIX message queues (bytes, -q) 819200 real-time priority (-r) 0 stack size (kbytes, -s) 8192 cpu time (seconds, -t) 1800 max user processes (-u) 42 virtual memory (kbytes, -v) 786432 file locks (-x) unlimited

>> (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 think that they have any newer version available, having just upgraded from Git 1.7 a couple of weeks ago... (1und1)

Git 1.7 used to work for me in the same environment, but iirc they also said they switched from 32-bit to 64-bit edition and blame the increased memory consumption on that change.

I'll ask for a newer version, but I'd be surprised if this happened.
>> 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?

Unfortunately, no. There are no big secrets in there, but just a couple of database details so that I cannot make it universally available. I can gladly give you access though. (E.g. by adding your public SSH key?)

Best regards, Carsten

Previous: René ScharfeNext: Duy Nguyen
Message 3 of 7 in “git status --> Out of memory, realloc failed”
  1. Carsten FuchsFeb 25, 2017
  2. René ScharfeMar 1, 2017
  3. Carsten FuchsMar 1, 2017
  4. Duy NguyenMar 2, 2017
  5. Carsten FuchsMar 3, 2017
  6. René ScharfeMar 2, 2017
  7. Carsten FuchsMar 3, 2017

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.