Hello.
A quick (stupid) question...
I used to do a lot of C on DOS/MS C/Borland compilers.
As I understand the malloc() function used to allocated memory from "DOS" or "BASE" memory, which was 640K(w/o Himem) if you wanted to use anymore, you'd need protected mode, EMM, etc and was quite difficult - so I used to use files instead (because I'm a lazy quitter :-))
Under linux/gcc, what memory am I getting when I use malloc()? I thought it was all the RAM availible, but just saw it run out of mem when allocating mem for 60,000 data structures and the RS/6000 I'm doing it on has 16GB RAM...
I was also under the impression that the BIOS has something to do with the 640k base but RS6k - no BIOS...
would anyone be kind enough to put straight my meed up brain on this matter?
Thanks
Daz.