real memory vs profiled memory python
问题 Using memory_profiler to aid in project that is requiring freeing up some memory at various points. The development environment is OS X snow leopard. The profiled memory, as shown below, is peaking at around 414.699 MiB , but the Activity Monitor is showing the process peaking at nearly twice that (more than 900 MB ). Line # Mem usage Increment Line Contents ================================================ 24 20.441 MiB 0.000 MiB @profile 25 def do_work(): 26 "Call each function in order" 27