delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/02/15/16:34:06

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.0 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Jehan Bing <jehan AT orb DOT com>
Subject: Re: Snapshot 20120214: fork: can't reserve memory for stack
Date: Wed, 15 Feb 2012 13:33:45 -0800
Lines: 20
Message-ID: <jhh8b6$h42$1@dough.gmane.org>
References: <jhh1vj$u77$1 AT dough DOT gmane DOT org> <20120215204723 DOT GC27454 AT calimero DOT vinschen DOT de>
Mime-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.1) Gecko/20120208 Thunderbird/10.0.1
In-Reply-To: <20120215204723.GC27454@calimero.vinschen.de>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019