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

git tag triggers out-of-memory killer

From
Olaf Hering <olaf@aepfle.de>
Date
Jul 11, 2022, 13:31 UTC
Message-ID
<20220711153135.35b1b135.olaf@aepfle.de>
What knobs exist inside git to restrict the amount of memory for each individual git process?
Running a large number of "git tag --sort=taggerdate --contains " processes in parallel triggers the OOM killer because each one allocates more than one gigabyte resident memory.
I tried to set all knobs from git-config(1) that appear to be related to memory usage, but nothing seems to have an effect.

Thanks, Olaf

Next: Jeff King
Message 1 of 5 in “git tag triggers out-of-memory killer”
  1. Olaf HeringJul 11, 2022
  2. Jeff KingJul 11, 2022
  3. Olaf HeringJul 11, 2022
  4. Jeff KingJul 11, 2022
  5. Olaf HeringJul 12, 2022

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.