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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • None
    • 5.7.0, 5.9.1
    • QPA
    • 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
        For Gerrit Dashboard: QTBUG-56653
        # Subject Branch Project Status CR V

        Activity

          People

            vestbo Tor Arne Vestbø
            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