[development] Memory profiling revisited