This message was edited by stober at 2006-4-17 7:59:41
: Hai all,
:
: I have one doubt in C. That is..
: How will write a routine in C to find the heap size?
: if anyone knows the answer, pls post & clear my doubt.
: -Vijay
:
on 32-bit operating systems such as MS-Windows and *nix, the max is 2 Gig or however much memory installed in the computer. Its not possible to determine how much is currently available without using os-specific (probably) kernel-level code.
This technical article might be of interest
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dngenlib/html/msdn_manamemo.asp