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]

Limit on memory allocation?


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


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