您的位置:首页 > 其它

c:\Git\bin\ssh.exe: *** Couldn't reserve space for cygwin's heap, Win32 error 487

2017-03-30 10:27 633 查看
今天突然间用as上传代码到码云(用的git)失败 出现问题

Tried to save uncommitted changes in stash before Update, but failed with an error. stash file://D:/AndroidStudioProjects/VRvr: 0 [main] us 0 init_cheap: VirtualAlloc pointer is null, Win32 error 487 AllocationBase 0x0, BaseAddress 0x68550000, RegionSize
0x1E0000, State 0x10000 C:\Program Files (x86)\Git\bin\sh.exe: *** Couldn't reserve space for cygwin's heap, Win32 error 0

发现 点击 git bash 闪退 

网上查了很多资料 也弄了半天,我的解决如下

1、先 重装了git客户端

     发现没有用

2、运行 cmd 窗口

     执行

c:\msysgit\bin>rebase.exe -b 0x50000000 msys-1.0.dll

 发现出现

   ReBaseImage (msys-1.0.dll) failed with last error = 6 

  又执行几遍还是不行

3、按照网上说的 

   把C:\Program Files (x86)\Git\bin文件下的msys-1.0.dll复制出来 然后 复制进去 还是没有用(有说什么以管理员身份复制)

解决方法;

最后我以管理员身份执行第2步 结果成功了

      以管理员身份运行方法:

                           找到   C:\Windows\System32文件夹下找到cmd.exe文件  右键选择以管理员身份 运行--》ok
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐