Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Empty QtQuick2 project has high RAM consumption
QtWS25 Last Chance

Empty QtQuick2 project has high RAM consumption

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
5 Posts 2 Posters 1.1k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Manu19
    wrote on last edited by
    #1

    It uses ~30MB of RAM. Can someone tell me why that happens?

    jsulmJ 1 Reply Last reply
    0
    • M Manu19

      It uses ~30MB of RAM. Can someone tell me why that happens?

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @Manu19 That's because all the Qt libraries used by the app are loaded into memory.
      On Linux you can check which libraries your app uses like this:

      ldd PATH_TO_YOUR_APP
      

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • M Offline
        M Offline
        Manu19
        wrote on last edited by
        #3

        Ok, thank you for your answer. Can I disable parts of the Qt libraries?

        jsulmJ 1 Reply Last reply
        0
        • M Manu19

          Ok, thank you for your answer. Can I disable parts of the Qt libraries?

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @Manu19 First step is to check which modules you're currently using: in your pro file check what you add to QT +=
          Do you want to run your app on limited hardware? If not then 30MB is nothing I would carry about too much.

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          M 1 Reply Last reply
          0
          • jsulmJ jsulm

            @Manu19 First step is to check which modules you're currently using: in your pro file check what you add to QT +=
            Do you want to run your app on limited hardware? If not then 30MB is nothing I would carry about too much.

            M Offline
            M Offline
            Manu19
            wrote on last edited by
            #5

            @jsulm Yes, I want to run it on RAM-limited hardware (64MB)
            I have only this added: QT += quick

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved