Re: [PATCH] index-pack: reduce memory footprint a bit
From: Duy Nguyen <hidden>
Date: 2016-06-15 23:03:47
On Wed, Feb 11, 2015 at 8:01 PM, matthew sporleder [off-list ref] wrote:
On Tue, Feb 10, 2015 at 12:49 PM, Junio C Hamano [off-list ref] wrote:quoted
matthew sporleder [off-list ref] writes:quoted
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