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

iOS: Significant memory pressure during recursive Dialog::exec() (multiple windows)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.7.0, 5.9.1
    • Fix Version/s: None
    • Component/s: QPA
    • Platform/s:
      iOS/tvOS/watchOS

      Description

      On iOS memory leak happens upon every Dialog::exec(). Attached is a sample program that just opens modal dialog. Every time the dialog is opened and closed a few MB (~9MB on iPhone, ~12MB on iPad, i.e. mem leak size depends on screen resolution) are added to the consumed memory (see attached screen shot from Xcode).
      Run attached sample and just press upper button to open new dialog and then Close button.

        Attachments

        1. backtrace.txt
          101 kB
        2. mem_leak.png
          mem_leak.png
          33 kB
        3. testModal.zip
          2 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            • Assignee:
              vestbo Tor Arne Vestbø
              Reporter:
              vladxky Vlad
            • Votes:
              3 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes