Memory Usage and Statistics

Hello, recently I have been trying to develop ways to observe the memory usage of the current program running (c++); this is due to the multitude of sophisticated tasks I have running(JSON Interpreter, custom GUI library and rendering solution etc.). Almost all standard ways to accomplish this goal have been unimplemented or excluded. If anyone knows a way to monitor memory usage and statistics it would be a great help. Thanks.