remove memory_profiler dependency