Limit on memory allocation?

Richard Stanton stanton@haas.berkeley.edu
Sat Jan 13 11:55:00 GMT 2001


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



More information about the Cygwin mailing list