See this thread for why it is hard:
Summary--you have to walk the linked list created by malloc to know how much heap is in use.
See this thread for why it is hard:
Summary--you have to walk the linked list created by malloc to know how much heap is in use.