Logging physical/virtual memory usage of my app