Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
From: "Richard Stanton" <stanton@haas.berkeley.edu>
To: "Cygwin" <cygwin@sources.redhat.com>
Subject: Limit on memory allocation?
Date: Sat, 13 Jan 2001 11:55:00 -0800
Message-ID: <LNBBKMIKMNGEJNEJICPHMEECELAA.stanton@haas.berkeley.edu>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700

Does cygwin/gcc have a limit on how much memory it can allocate under Win2k?

In particular, from my testing it seems that if the total amount of memory I
allocate in my C program using malloc calls exceeds the total amount of
PHYSICAL memory on my system (128MB), the allocation fails, even though I
asked Win2k to set up a 1GB paging file on my hard drive. Is there any way
to avoid this restriction, and have malloc take the virtual memory into
account?

Thanks.

Richard Stanton


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

