added support for python memory profiler