Avery Pennarun <apenwarr@xxxxxxxxx> wrote: > On Mon, Aug 11, 2008 at 11:01 AM, Shawn O. Pearce <spearce@xxxxxxxxxxx> wrote: > > On the up side, packing should only be consuming huge memory like > > this when it needs to move loose objects into a pack file. I think > > Martin Langhoff suggested packing this on your laptop then using > > rsync over SSH to copy the pack file and .idx file to the server, so > > the server didn't have to spend time figuring out the deltas itself. > > Do you need to also introduce a ".keep" file to get the benefit from > this? I had a repo with some very large objects, and it was killing > my low-memory server *every* time I did "git gc", until I repacked on > another system, created the .keep file, and rsynced it back. Does > that make sense? No, the ".keep" file wouldn't have an impact. Delta reuse (the feature I was alluding to) works whether or not there is a .keep file present. I wonder if your "git gc" was using --aggressive? -- Shawn. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html