Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Fixed
    • Affects Version/s: 5.11.2
    • Fix Version/s: 5.11.3
    • Component/s: PySide
    • Labels:
    • Platform/s:
      All
    • Commits:
      6978325323208c395d135f19847a8ad0b13f93f9

      Description

      Maybe Shiboken issue ( ? ).

      Simple QObject creation and deletion causes mem leak.

      9 line example code included.

       

      I have tested it on Ubuntu14.04 LTS, Win7 32bit, Win7 64bit on PySide2 v5.11.2 and I believe it is general problem.

       

      I believe this can relate with other mem leak issues:

      https://bugreports.qt.io/browse/PYSIDE-763

      https://bugreports.qt.io/browse/PYSIDE-140

      https://bugreports.qt.io/browse/PYSIDE-154

      https://bugreports.qt.io/browse/PYSIDE-488

      https://bugreports.qt.io/browse/PYSIDE-618

      https://bugreports.qt.io/browse/PYSIDE-832

       

      Even this matplotlib interactive demo suffers from the leaks (tested on matplotlib 2.2.3).

      Just add this 3 lines at the beginning of the example to ensure you use PySide2 for it:

      import PySide2
      import matplotlib
      matplotlib.use("Qt5Agg")

        Attachments

        For Gerrit Dashboard: PYSIDE-832
        # Subject Branch Project Status CR V

          Activity

            People

            • Assignee:
              ctismer Christian Tismer
              Reporter:
              mailos Miloš Korenčiak
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes