On Wed, Jan 28, 2009 at 11:16:32PM +0100, Pau Garcia i Quiles wrote: > My case: I have a 500 MB repository with a 1GB working tree, with > binary files ranging from 100KB to 50MB and a few thousand source > files. > > I have two branches ('master' and 'cmake') and the latter has suffered > a huge hierarchy reorganization. > > When I merge 'master' in 'cmake', if I use the 'subtree' strategy, it > works fine. If I use any other strategy, after a couple of minutes I > receive a "malloc failed" and the tree is all messed up. As I said, on > Linux it works fine, so maybe it's a Windows-specific problem. Hmm. It very well might be the rename detection allocating a lot of memory to do inexact rename detection. It does try to limit the amount of work, but based on number of files. So if you have a lot of huge files, that might be fooling it. Try setting merge.renamelimit to something small (but not '0', which means "no limit"). -Peff -- 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