adding memory profiler work @sreeder and @jmeline did