Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

memory usage

Status
Not open for further replies.

ARCITS

Programmer
Apr 4, 2002
99
GB
Are there any commands available to check free memory, the size of the heap and stack, etc?

Thanks
 

MEMORYSTATUS MemStat;
MemStat.dwLength = sizeof(MEMORYSTATUS);
GlobalMemoryStatus(&MemStat);

then look at dwAvailPhys and other member variables of the structure.

Matt
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top