From: Johannes Sixt Date: Wed, 26 Oct 2011 10:55:12 GMT Subject: Re: Out of memory error with git rebase Message-ID: <4EA7E710.1020006@kdbg.org> In-Reply-To: <83vcrc9kh7.fsf@kalahari.s2.org> Am 26.10.2011 11:21, schrieb Hannu Koivisto: > If 'git rebase origin/master' dies with an out of memory error > (probably due to a few of large binary files in the repository, the > largest being ~300MB and ~1GB in total in one directory), which > settings should be tweaked and how to get rid of the problem? I > tried... Try 'git rebase -m origin/master'. Without -m, rebase uses format-patch+am, i.e., assuming there are changes to the binary files that are to be rebased, a binary patch file would have to be generated and applied later. This is very likely where git bails out. -- Hannes