How can I find out how much memory is available?

Showing Answers 1 - 4 of 4 Answers

santosh

  • Jul 20th, 2005
 

Use malloc()

  Was this answer useful?  Yes

Girish

  • Jul 23rd, 2005
 

i don't think the malloc() is a right answer for this . malloc() allocate memory in number of bytes from heap segment .

  Was this answer useful?  Yes

Yashwant S pinge

  • Mar 27th, 2006
 

In linux there is a memory debugging tool valgrind.With the help of valgrind, you can easily check the memory allocation or memory deallocation.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions