C=>To Find Heap Size - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

C=>To Find Heap Size

starvijaystarvijay Posts: 21Member
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

Comments

  • stoberstober Posts: 9,765Member ✭✭✭
    [b][red]This message was edited by stober at 2006-4-17 7:59:41[/red][/b][hr]
    : 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



Sign In or Register to comment.