Mail Archives: djgpp/1994/11/08/18:06:36
>
> (1) The EMS memory is what go32 is using, which is why you start with
> only 4M and not 16M.
>
> (2) When you call malloc, that doesn't actually *use* memory. It just
> *reserves* it. You could malloc 100Mb and not use it, and still have
> most of your physical memory available. If you want to *use* the
> memory, call memset() to fill it with zeros or something.
>
>
You only need to touch one location in every 4k block.
I have another related question? Will memory allocated by malloc be
paged out?
Cheers,
Hung.
- Raw text -