Code review: 170940043:  Initial work on memory profiling.