To add to the other answer stating:
each time GIT runs it ramps up the memory used. This problem appears to be related to a memory leak in GIT.
Git 2.20 (Q4 2018) is focused of squashing the last cases of memory leakage known in Git, plugging a handful of memory leaks in the ref-filter codepath.
See commit f0062d3, commit deec6b8, commit 23941dd (18 Oct 2018) by Olga Telezhnaya (telezhnaya
).
(Merged by Junio C Hamano -- gitster
-- in commit 9d00100, 30 Oct 2018)
Git 2.24 (Q4 2019) corrects "for-each-ref
" (and friends that shows refs did not protect themselves against ancient tags) did not record tagger names when asked to
show "%(taggername)
",.
See commit 8b3f33e (17 Aug 2019) by Mischa POSLAWSKY (shiar
).
(Merged by Junio C Hamano -- gitster
-- in commit a477abe, 09 Sep 2019)
ref-filter
: initialize empty name or email fields
Formatting $(taggername)
on headerless tags such as v0.99 in Git causes a SIGABRT
with error "munmap_chunk()
: invalid pointer", because of an oversight in commit f0062d3 (ref-filter
: free item->value and item->value->s, 2018-10-19, Git v2.20.0-rc0).