![Windows 10 上出现“bash:fork:retry:资源暂时不可用”错误](https://linux22.com/image/1584920/Windows%2010%20%E4%B8%8A%E5%87%BA%E7%8E%B0%E2%80%9Cbash%EF%BC%9Afork%EF%BC%9Aretry%EF%BC%9A%E8%B5%84%E6%BA%90%E6%9A%82%E6%97%B6%E4%B8%8D%E5%8F%AF%E7%94%A8%E2%80%9D%E9%94%99%E8%AF%AF.png)
当我打开时,git bash
我收到以下消息:
2 [main] bash (40164) C:\Program Files\Git\usr\bin\bash.exe: *** fatal error - cygheap base mismatch detected - 0x1301410/0x12A1410.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version. The most recent version *should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution. Rebooting is also suggested if you
are unable to find another
> Blockquote
cygwin DLL.
1 [main] bash 45888 fork: child -1 - forked process 40164 died unexpectedly, retry 0, exit code 0xC0000142, errno 11
我也尝试过ulimit -a
并得到:
core file size (blocks, -c) unlimited
data seg size (kbytes, -d) unlimited
file size (blocks, -f) unlimited
open files (-n) 256
pipe size (512 bytes, -p) 8
stack size (kbytes, -s) 2032
cpu time (seconds, -t) unlimited
max user processes (-u) 256
virtual memory (kbytes, -v) unlimited
并在另一个类似的问题中找到这个命令ulimit -Sn unlimited && ulimit -Sl unlimited
并得到这个结果:
bash: ulimit: -l: invalid option
ulimit: usage: ulimit [-SHabcdefiklmnpqrstuvxPT] [limit]
cygwin1.dll
我也在 Windows 图形搜索中搜索过,CMD
但找不到这样的文件!