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

QTimer::singleShot memory leak

    XMLWordPrintable

Details

    • Windows

    Description

      Repeatedly calling QTimer::singleShot from worker thread to trigger a slot in main thread seems to cause the application memory consumption to slowly climb. The only time when memory consumption would go down temporarily (although still trending up) is when the application window is activated. If the application window remains in the background the memory consumption will not go down.

      Steps to reproduce the problem:

      1. Run the attached example
      2. Keep the app window minimized or in the background

      Attachments

        1. qtbug96277-1.zip
          2 kB
        2. qtbug96277.zip
          2 kB
        3. clangsa.png
          clangsa.png
          43 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            thiago Thiago Macieira
            miikapernu Miika Pernu
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes