Tuesday, July 28, 2009

Fix msysgit install

You may get the following error during commit in git:

0 [main] us 0 init_cheap: VirtualAlloc pointer is null, Win32 error 487 AllocationBase 0x0, BaseAddress 0x30540000, RegionSize 0x240000, State 0x10000 C:\dev\bin\git\bin\sh.exe: *** Couldn't reserve space for cygwin's heap, Win32 error 0

To fix this try the following:

  1. Download http://repo.or.cz/w/msysgit.git?a=blob_plain;f=bin/rebase.exe;hb=full (~500 KB)

  2. Copy this file to the \git\bin folder

  3. Ensure that no Git related programs are open

  4. Open a command prompt and navigate to \git\bin

  5. Execute rebase.exe -b 0x40000000 msys-1.0.dll

This should fix up the problem.

See Issue 180 on msysgit for details.

0 комментария(ев):