Mail Archives: djgpp/1997/04/18/02:50:40
David Orme wrote:
> I managed to malloc a 128Mb array of ints, and I only have 8Mb of RAM! I was
> wondering if DJGPP double buffers or something I didn't recieve an error or
> a NULL from the malloc command.
AFAIK ,because of CWSDPMI, you can use up to 256 MBs of virtual memory
so, yes, you _can_ allocate that without any error.
but I don't know what would happen if you would allocate dozens of such
arrays and try to use them all at once...
--
tudor 'at' cam 'dot' org
http://www.cam.org/~tudor
'This is Scott Nudds of the Borg. C is irrelevant.'
- Raw text -