Memory allocation profiler