Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-117616

Memory Leak suspected with Dialog creates menus and icons

    XMLWordPrintable

Details

    • macOS

    Description

      When opening and closing a dialog repeatedly, where the dialog creates menus and icons, This turns out that this lead to unreclaimed memory by Qt internally.

      This is tested with Mac Instruments tool, Attached is the example which can be used to see it:

      Steps to reproduce:

      Start Mac's Instrument application,

      Start Example,

      Attach example in the instrument and start recording.

      Example will create 10 windows, once all 10 is created start closing all of the window until application itself is not closed. observed that in instrument memory curve is never brought down to the level even when first window was created.

      Attachments

        1. instruments.png
          instruments.png
          104 kB
        2. qaction.png
          qaction.png
          335 kB
        3. qmenu.png
          qmenu.png
          1.05 MB
        4. qtbug117616.zip
          7 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            axelspoerl Axel Spoerl
            irfan.omair@digia.com Irfan Omair
            Votes:
            4 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes