Re: Why does pack-objects use so much memory on incremental packing?

2018-03-19 Thread Jeff King
On Sat, Mar 17, 2018 at 11:05:59PM +0100, Ævar Arnfjörð Bjarmason wrote: > Splitting this off into its own thread. Aside from the improvements in > your repack memory reduction (20180317141033.21545-1-pclo...@gmail.com) > and gc config (20180316192745.19557-1-pclo...@gmail.com) series's I'm >

Re: Why does pack-objects use so much memory on incremental packing?

2018-03-18 Thread Duy Nguyen
On Sat, Mar 17, 2018 at 11:05 PM, Ævar Arnfjörð Bjarmason wrote: > > On Wed, Feb 28 2018, Duy Nguyen jotted: > >> linux-2.6.git current has 6483999 objects. "git gc" on my poor laptop >> consumes 1.7G out of 4G RAM, pushing lots of data to swap and making >> all apps nearly

Why does pack-objects use so much memory on incremental packing?

2018-03-17 Thread Ævar Arnfjörð Bjarmason
On Wed, Feb 28 2018, Duy Nguyen jotted: > linux-2.6.git current has 6483999 objects. "git gc" on my poor laptop > consumes 1.7G out of 4G RAM, pushing lots of data to swap and making > all apps nearly unusuable (granted the problem is partly Linux I/O > scheduler too). So I wonder if we can