Limit on memory allocation?

Larry Hall (RFK Partners, Inc)
Sat Jan 13 14:37:00 GMT 2001

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

Larry Hall                    
RFK Partners, Inc.            
118 Washington Street                   (508) 893-9779 - RFK Office
Holliston, MA 01746                     (508) 893-9889 - FAX

Want to unsubscribe from this list?
Check out:

More information about the Cygwin mailing list