I\'m getting this error while doing a git svn rebase in cygwin
Out of memory during \"large\" request for 268439552 bytes, total sbrk() is 140652544 bytes at
This is not a Perl-specific issue, but rather one related to cygwin. You can raise memory allocation with ulimit.
What version of git are you using? If you're not on the latest version, this might be an inefficiency that has been fixed with the latest version (e.g. looping through a very large file with foreach rather than while, as google suggests when I did a quick search.)