Snapshot 20120214: fork: can't reserve memory for stack

Jehan Bing jehan@orb.com
Wed Feb 15 21:33:00 GMT 2012


On 2012-02-15 12:47, Corinna Vinschen wrote:
> On Feb 15 11:45, Jehan Bing wrote:
>> I'm getting the following error starting with cygwin snapshot
>> 20120214 when running a git command:
>>
>> $ git add bigfile-test.dll
>>        0 [main] git 7440 D:\dev_apps\cygwin\bin\git.exe: *** fatal
>> error in forked process - fork: can't reserve memory for stack
>> 0xAD0000 - 0xBD0000, Win32 error 487
>
> I can't reproduce that (also on W7).  How big is bigfile-test.dll?

That one is 20MB. So it would never fit in the a stack (not a 
default-sized one anyway).

But it also (mostly) fails on a smaller file (1.5MB).
Given the size difference, if file size mattered, one would always 
succeed or the other always fail.

	Jehan


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list