How to know how much RAM/Flash i am using

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.