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. what should i do to find the reason that the program makes the big memory.
Qt 6.11 is out! See what's new in the release blog

what should i do to find the reason that the program makes the big memory.

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 396 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.
  • nicker playerN Offline
    nicker playerN Offline
    nicker player
    wrote on last edited by
    #1

    when i finished wrote the program.
    i found that if I opened the program,the program's memory increased very quickly.and until to 1GB ,then it stopped.the program runs normally.I just want to know what part of the code caused the memory increasing.
    so what should i do to fix the problem?

    jsulmJ 1 Reply Last reply
    0
    • nicker playerN nicker player

      when i finished wrote the program.
      i found that if I opened the program,the program's memory increased very quickly.and until to 1GB ,then it stopped.the program runs normally.I just want to know what part of the code caused the memory increasing.
      so what should i do to fix the problem?

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

      @nicker-player Use a memory monitoring tool like Valgrind (Linux) to see where in your app the most memory is allocated.

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

      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