You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm working with a big IPython notebook with inline matplotlib charts and a lot of objects in memory. When a chart is drawn IPython closes the matplotlib figure; when this happens matplotlib calls gc.collect()here (there is an another possible gc.collect call here). This causes 5-10s delays, making interactive work uncomfortable.
What do you think about removing these calls, or maybe using less aggressive settings, like generation 0 or 1? In my case gc.collect(0) and gc.collect(1) are instant unlike gc.collect() or gc.collect(2).
Activity
Use less aggressive garbage collection. Fixes matplotlibGH-3044.
FIX: do not try to help CPython with garbage collection
FIX: do not try to help CPython with garbage collection
FIX: do not try to help CPython with garbage collection
FIX: do not try to help CPython with garbage collection