Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-Id: <4.3.1.2.20010113172702.0233d008@pop.ma.ultranet.com> X-Sender: lhall AT pop DOT ma DOT ultranet DOT com X-Mailer: QUALCOMM Windows Eudora Version 4.3.1 Date: Sat, 13 Jan 2001 17:33:03 -0500 To: "Richard Stanton" , "Cygwin" From: "Larry Hall (RFK Partners, Inc)" Subject: Re: Limit on memory allocation? In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 02:55 PM 1/13/2001, Richard Stanton wrote: >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 I know there's better information about this in the mail archives but this was all I could come up with quickly. This should get you on the right path though... http://sources.redhat.com/ml/cygwin/1999-11/msg00443.html Larry Hall lhall AT rfk DOT com RFK Partners, Inc. http://www.rfk.com 118 Washington Street (508) 893-9779 - RFK Office Holliston, MA 01746 (508) 893-9889 - FAX -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple