On Wed, Feb 14, 2018 at 01:48:28PM +0100, SZEDER Gábor wrote: > > If I revert that commit (on top of current master) the memory > > consumption goes down to 2GB again. The change looks relatively harmless > > to me, so does anyone know what's going on here? > > I could reproduce the increased memory usage even for much smaller > repositories. The patch below seems to fix it for me. > > > -- >8 -- > > Subject: [PATCH] fsck: plug tree buffer leak I think this is fixed already in ba3a08ca0e (fsck: fix leak when traversing trees, 2018-01-20), which is in 'next' (and marked for "will merge to master in yesterday's "what's cooking"). -Peff