delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/06/03/11:59:44

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-Id: <5.1.0.14.2.20010603085539.02534088@pop3.cris.com>
X-Sender: rrschulz AT pop3 DOT cris DOT com
X-Mailer: QUALCOMM Windows Eudora Version 5.1
Date: Sun, 03 Jun 2001 08:59:48 -0700
To: holger DOT vogt AT uni-duisburg DOT de, cygwin AT cygwin DOT com
From: Randall R Schulz <rrschulz AT cris DOT com>
Subject: RE: CreateFiber() : number of fibers limited
In-Reply-To: <3B1A0E67.1A48AD8A@unidui.uni-duisburg.de>
Mime-Version: 1.0

Holger,

Don't forget about the Cygwin-wide memory allocation limit dictated by the 
DWORD registry entry "heap_chunk_in_mb" (HKEY_CURRENT_USER\Software\Cygnus 
Solutions\Cygwin\heap_chunk_in_mb) which defaults to 128 (megabytes).

Where this limit typically hit me was in compiling a C program with a large 
switch statement using gcc with -O4 optimization.

Randall Schulz
Mountain View, CA USA


At 03:16 2001-06-03, Holger Vogt wrote:
>Hi,
>
>independently of the requested stack size (first parameter in
>CreateFiber()), CYGWIN will give only 53 fibers. Only when I increase
>the stack size above 9.5 MByte, I will get a further reduction in the
>number of fibers created.
>
>The error by GetLastError is always no. 8, 'Not enough storage is
>available to process this command.'.
>
>Borland C++Builder Compiler (same test application) will reduce the
>number of possible fibers according to stack size. 1000 fibers are no
>problem with a stack size of 64 k Byte.
>
>Is it possible that there is a bug in libkernel32.a ?
>
>Regards
>
>Holger Vogt


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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