Git一直使用都好好的,今天git pull的时候,报了以下的错误,\bin\sh.exe:*** Couldn't reserve space for cygwin's heap,Win32 error 0,通过百度以后获知这个问题是由于Cygwin 使用持久性的共享的内存段,有时可能会损坏。这症状是某些 Cygwin 程序开始失败了,但其余应用程序不受影响。
git
解决方法是:一、经过cmd进入git的rebase.exe所在目录,个人是在Local\GitHub\PortableGit_c2ba306e536fdf878271f7fe636a147ff37326ad\bin;网站
二、在命令行中输入 rebase.exe -b 0x50000000 msys-1.0.dll,而后回车,正常状况下命令行是没有任何返回内容的,除非是执行失败。spa
三、如图所示:命令行
四、如下是解决此问题的网站:blog
http://stackoverflow.com/questions/18502999/git-extensions-win32-error-487-couldnt-reserve-space-for-cygwins-heap-win32内存
http://jakob.engbloms.se/archives/1403cmd