Instrumentation based Memory Profiler