Skip to content

BUG: VTK/PyVista not freeing memory with multiple figures #8241

Closed

Description

@larsoner

A lot of our master builds have failed lately, like:

https://app.circleci.com/pipelines/github/mne-tools/mne-python/3597/workflows/fcb12f01-1f51-4d87-8697-5ac9e30f9411/jobs/22228

@GuillaumeFavelier I suspect it could be some recent-ish (within the last 2 months?) viz update. It was happening before the PyVista 0.26 release. Can you look to see if code from a month or two ago uses the same memory as it does now? Often it's plot_visualize_stc.py that breaks things, but in the example above it's plot_forward.py.

Activity

  1. added this to the 0.21 milestone on Sep 11, 2020
  2. GuillaumeFavelier commented on Sep 12, 2020

    @GuillaumeFavelier
    Contributor

    It's an item of #7162

  3. larsoner commented on Sep 18, 2020

    @larsoner
    MemberAuthor

    Turns out this seems to be related to bad garbage collection. See investigations in #8266 (comment) and report in pyvista/pyvistaqt#57. It would be good if we could figure out where this is coming from. In the meantime, plotting so many montages is not going to be safe :(

  4. modified the milestones: 0.21, 0.22 on Sep 18, 2020
  5. larsoner commented on Oct 20, 2020

    @larsoner
    MemberAuthor
  6. changed the title [-]BUG: CircleCI using too much memory (again)[/-] [+]BUG: VTK/PyVista not freeing memory with multiple figures[/+] on Oct 20, 2020
  7. larsoner commented on Oct 21, 2020

    @larsoner
    MemberAuthor

    Never mind, it does happen on plot_meg_sensors.py...

  8. removed this from the 0.22 milestone on Dec 1, 2020
  9. larsoner commented on Oct 1, 2023

    @larsoner
    MemberAuthor

    This is an upstream issue so I'll close at our end

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions