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. QApplication initialization is memory intensive
Forum Updated to NodeBB v4.3 + New Features

QApplication initialization is memory intensive

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 237 Views 2 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.
  • E Offline
    E Offline
    Ethan_Blue
    wrote on last edited by
    #1

    I did memory profiling with the vs Memory detector and found that the class that inherits from QApplication uses 1GB heap memory when initialize QApplication

    before initialize QApplication
    d67fd73a-23e2-4e2d-8b23-0c66663b55b5-image.png

    initialize QApplication memory
    bca598ff-1175-41b1-b2b5-9ac04258054e-image.png

    intialize QApplication cost about 1GB memory , I don't understand what is taking up so much memory。

    1 Reply Last reply
    0
    • Kent-DorfmanK Offline
      Kent-DorfmanK Offline
      Kent-Dorfman
      wrote on last edited by
      #2

      The graphics image above is not enough information to even make an educated guess.

      E 1 Reply Last reply
      0
      • Kent-DorfmanK Kent-Dorfman

        The graphics image above is not enough information to even make an educated guess.

        E Offline
        E Offline
        Ethan_Blue
        wrote on last edited by
        #3

        @Kent-Dorfman Thank you for your reply. There should be other reasons, but I haven't found them yet. Can you tell me how to fix the memory problem in windows?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