Re: [PATCH/RFC v2 0/9] Reduce pack-objects memory footprint

2018-03-05 Thread Duy Nguyen
On Sat, Mar 03, 2018 at 09:46:57AM +0700, Nguyễn Thái Ngọc Duy wrote: > The array of object_entry in pack-objects can take a lot of memory > when pack-objects is run in "pack everything" mode. On linux-2.6.git, > this array alone takes roughly 800MB. > > This series reorders some fields and

[PATCH/RFC v2 0/9] Reduce pack-objects memory footprint

2018-03-02 Thread Nguyễn Thái Ngọc Duy
The array of object_entry in pack-objects can take a lot of memory when pack-objects is run in "pack everything" mode. On linux-2.6.git, this array alone takes roughly 800MB. This series reorders some fields and reduces field size... to keep this struct smaller. Its size goes from 136 bytes to 96