pythonprofilers / memory_profiler

Monitor Memory usage of Python code
http://pypi.python.org/pypi/memory_profiler
Other
4.39k stars 380 forks source link

mem usage and increment print is missing #391

Open xmy0916 opened 1 year ago

xmy0916 commented 1 year ago

image

Why does this code not print the memory status?

axoroll7 commented 1 year ago

Maybe, tqdm is starting a new process ? It is only speculation.

EDIT 1: Sorry, what I said didn't make sense.

axoroll7 commented 1 year ago

What happens when you profile a function called inside the for loop?