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

QML allocates 4k of memory for each property on VxWorks

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P2: Important
    • None
    • 4.8.5
    • None
    • VxWorks with qws, Linux x11 x86

    Description

      Adding any property to a QML item creates 4k of memory allocation on VxWorks, which is visible using adrSpaceShow 1. The similar behavior is happening on linux with x11, check the details bellow:

      1000 qml string properties with tr
      Kbytes RSS Dirty Mode
      total kB 221168 19404 3420
      total kB 2430796 32400 12684

      1000 qml string properties without tr

      total kB 221168 19408 3424
      total kB 2426852 27680 8392

      0 string properties

      total kB 221168 19404 3420
      total kB 2425068 25668 6424

      1000 properties means 2012 RSS which results 2060 bytes per property.
      1000 qsTr means 6772 RSS which results 6934 bytes per qsTr

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            papetaja Pasi Petäjäjärvi
            qtcomsupport Qt Support
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes