Update function_memory_monitor.pyx