This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Limit on memory allocation?


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@rfk.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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]