From: Duy Nguyen Date: Wed, 11 Feb 2015 13:10:05 GMT Subject: Re: [PATCH] index-pack: reduce memory footprint a bit Message-ID: In-Reply-To: On Wed, Feb 11, 2015 at 8:01 PM, matthew sporleder wrote: > On Tue, Feb 10, 2015 at 12:49 PM, Junio C Hamano wrote: >> matthew sporleder writes: >> >>> I'm having trouble getting this new patch to apply. >> >> Apply the first one, replace all object_entry_extra with >> object_stat, replace all objects_extra with obj_stat and amend the >> first one. Then apply this one. > > I got this to work and had a good experience but got this from an arm user: > > Cloning into 'NetBSD-src-git'... > remote: Counting objects: 3484984, done. > remote: Compressing objects: 100% (636083/636083), done. > error: index-pack died of signal 10 > fatal: index-pack failed > 125.84 real 0.13 user 0.49 sys > > Core was generated by `git'. > Program terminated with signal SIGBUS, Bus error. It might be the effect of __attribute__((packed)). Maybe you could try again without that in builtin/index-pack.c. Also could you run gdb and do p sizeof(*ofs_deltas) ? No need to actually run it from gdb. -- Duy