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

memory leak of memory manager on QNX 7.1

XMLWordPrintable

    • QNX
    • 55b1ce8a3312434d0e53f20deca579244f87ddb7, d61c2116871d15f46911d031c14b06975003edb3, 8e6423aa251d5a5ef1c2904d4864139ab3412b41, 9f3bbf517b75e80eb70dea1ede3d724869ed1f19

      A memory leak was observed while running the customer's application. (QNX 7.1, Qualcomm SoC, Qt 6.5.6)

       

      No memory leak occurred when testing a simplified sample app (provided by the customer) on Windows, but a similar issue was suspected on QNX 7.1 on Rpi4.

      In Linux, a relatively small memory increase (about 8Mb for 10 hours) is observed, but it stabilizes quickly without continuing to grow.

       

      When executing "cat /proc/app_pid/vmstat", it was observed that RSS and private memory keep increasing, and when running "cat /proc/app_pid/pmap", it was observed that the heap area continues to be allocated.

      (around 300Mb for 10 hours)

       

      After setting the QV4_MM_AGGRESSIVE_GC environment variable, it appears that the memory leak is no longer observed. This suggests that the issue may be related to the memory manager, but the exact cause has not been identified yet.

       

      malcolm 

      Please attach librcheck result if you can get it. 

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

            qtqmlteam Qt Qml Team User
            seokhako Seokha Ko
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes