Why does Git.pm on cygwin complain about 'Out of memory during “large” request?

前端 未结 4 1165
野性不改
野性不改 2020-12-16 15:57

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         


        
4条回答
  •  北荒
    北荒 (楼主)
    2020-12-16 16:48

    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.)

提交回复
热议问题