Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

matplotlib shouldn't call gc.collect() #3044

Closed
Milestone
@kmike

Description

@kmike

Hi,

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 callsgc.collect()here (there is an another possible gc.collect callhere). 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 casegc.collect(0) andgc.collect(1) are instant unlikegc.collect() orgc.collect(2).

I've fired a related issue to the IPython bug tracker:ipython/ipython#5795

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp