Git development
 help / color / mirror / Atom feed
From: Olaf Hering <olaf@aepfle.de>
To: git@vger.kernel.org
Subject: git tag triggers out-of-memory killer
Date: Mon, 11 Jul 2022 15:31:35 +0200	[thread overview]
Message-ID: <20220711153135.35b1b135.olaf@aepfle.de> (raw)

[-- Attachment #1: Type: text/plain, Size: 423 bytes --]

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

[-- Attachment #2: Digitale Signatur von OpenPGP --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

             reply	other threads:[~2022-07-11 13:37 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-11 13:31 Olaf Hering [this message]
2022-07-11 14:06 ` git tag triggers out-of-memory killer Jeff King
2022-07-11 15:15   ` Olaf Hering
2022-07-11 17:50     ` Jeff King
2022-07-12 10:22   ` Olaf Hering

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220711153135.35b1b135.olaf@aepfle.de \
    --to=olaf@aepfle.de \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox