Android Studio 通过 git update 或者 pull 的时候出错及解决办法

  • Android Studio 通过 git update 或者 pull 的时候出错,log 如下:

      Couldn't save uncommitted changes.
      Tried to save uncommitted changes in stash before Update, but failed with an error.
      stash file://D:/github/rxAndroid:       0 [main] us 0 init_cheap: VirtualAlloc pointer is null, Win32 error 487
      AllocationBase 0x0, BaseAddress 0x68570000, RegionSize 0x1A0000, State 0x10000
      C:\Program Files (x86)\Git\bin\sh.exe: *** Couldn't reserve space for cygwin's heap, Win32 error 0
  • StackOverflow 相关问题:Git Extensions: Win32 error 487: Couldn’t reserve space for cygwin’s heap, Win32 error 0

  • 解决办法: system reboot (系统重启)

    原文作者:李*静波
    原文地址: https://www.cnblogs.com/liyiran/p/7122031.html
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞