1

I want to git push, but...

Here is the error:

C:\Sites\workspace\sample_app1>git push
      0 [main] us 0 init_cheap: VirtualAlloc pointer is null, Win32 error 487
AllocationBase 0x0, BaseAddress 0x68570000, RegionSize 0x460000, State 0x10000
C:\RailsInstaller\Git\bin\ssh.exe: *** Couldn't reserve space for cygwin's heap, Win32 error 0

fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists.

How can I solve this problem?

Confiqure
  • 6,440
  • 13
  • 52
  • 78
Masayuki Suzuki
  • 399
  • 1
  • 2
  • 11

1 Answers1

0

As noted, that is a Win32 error that can be fixed with:

rebase.exe -b 0x50000000 msys-1.0.dll

But that is pre-Git 2.0 (2015), and msys2.
Any recent Git for Windows 2.x (32 and 64 bits) would avoid that issue.

VonC
  • 1,042,979
  • 435
  • 3,649
  • 4,283