When I tried to reload the repo:
git rebase XXX YYY
I get the error "Out of memory, malloc failed":
First, rewinding head to replay your work on top of it...
fatal: Out of memory, malloc failed (tried to allocate 34537367 bytes)
git encountered an error while preparing the patches to replay
these revisions:
3d5a7259c57b6b8a86fd6f7c44e6efa25a0e9db4..450ac9a6cf85475ab1a38b763f2f9a836a
4ba6a0
As a result, git cannot rebase them.
If I use a cherry disk, it works without errors:
git checkout XXX
git cherry-pick YYY
I used Git on Windows version 1.9.4-preview20140815. The device has 8 GB of RAM, there is no file larger than 100 MB in the repo, and the following parameters are related to packaging:
[core]
packedGitWindowSize = 256m
packedGitLimit = 256m
[pack]
packSizeLimit = 2g
threads = 2
deltaCacheSize = 256m
windowMemory = 256m
source
share