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
Forum Updated to NodeBB v4.3 + New Features

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 14 Dec 2017, 10:26 last edited by
    #1

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

    J 1 Reply Last reply 15 Dec 2017, 06:59
    0
    • M Manu19
      14 Dec 2017, 10:26

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

      J Online
      J Online
      jsulm
      Lifetime Qt Champion
      wrote on 15 Dec 2017, 06:59 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 18 Dec 2017, 12:59 last edited by
        #3

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

        J 1 Reply Last reply 18 Dec 2017, 14:30
        0
        • M Manu19
          18 Dec 2017, 12:59

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

          J Online
          J Online
          jsulm
          Lifetime Qt Champion
          wrote on 18 Dec 2017, 14:30 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 18 Dec 2017, 14:51
          0
          • J jsulm
            18 Dec 2017, 14:30

            @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 18 Dec 2017, 14:51 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

            1/5

            14 Dec 2017, 10:26

            • Login

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