Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt5 dlls committing large amounts of virtual memory

Qt5 dlls committing large amounts of virtual memory

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 2 Posters 804 Views 1 Watching
  • 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.
  • K Offline
    K Offline
    kev946
    wrote on last edited by
    #1

    When I compile the "Qt Quick Controls 2 - Contact List" example project (available through Qt Creator) under Qt 5.9.1 - mingw53_32 - and run it under VMMap, I notice that the Qt5 specific dlls have a very large amount of memory committed. The Qt5 specific dlls (e.g., Qt5Guid.dll, Qt5Qmld.dll) have about 1.57GB of memory committed! This is a problem for me in other 32 bit projects where my application code cannot allocate enough memory (std::bad_alloc starts getting thrown when trying to allocate more than 2 GB total).

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      In that case shouldn't you use the release version to have a lower memory foot print ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      2
      • K Offline
        K Offline
        kev946
        wrote on last edited by
        #3

        It looks like the Qt specific dlls have significantly less memory committed when the application is compiled in release mode. Thanks!

        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