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

QML memory allocation

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Not Evaluated
    • None
    • 5.15.0
    • None
    • Windows

    Description

      During the creation of the eloborate GUI with autoscaling, I stumbled upon the low performance issue, when all components change their properties (size, color, font) at the same time. To find the cause of the issue I created a simple project (benchmark). Scene dynamically creates a certain amount of graphical primitives, which change their properties each frame. I found a bug with memory reallocation. To be exact, if there is a text component on the scene and its properties change each frame, it leads to contineous growth of the RAM usage. I suppose it demostrates the memory leak issue. If you try the same test with rectangle component you won't have this issue.

      Link below forwards to the video where you can see the issue yourself. In the attachement you can find the project of the application demostrated on the video.

      If you want to test it yourself, please compile the project and repeat what I did in the video.

      video: https://yadi.sk/i/0QvVZEzYNauvqw

      Attachments

        Activity

          People

            lagocs Laszlo Agocs
            valera_m Valery Mikhaylovsky
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: