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

Today, suddenly uploading code to the code cloud with AS failed and there was a problem
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
Found click Git bash flash back
Looked up a lot of data on the net also made along while, my solution is as follows
1. Reinstalled git client first
Find it useless
2. Run the CMD window

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

Found in

ReBaseImage (Msys-1.0.DLL) failed with last error = 6
A few more runs still won’t do
3. According to the Internet
It is still useless to copy out the Msys-1.0.DLL under C:\Program Files (x86)\Git\bin and then copy it in.
Finally, I executed step 2 as an administrator and it was successful
Run as an administrator:
Find the CMD. Exe file under C:\Windows\System32, right-click and select Run as administrator — ‘OK

Read More: