Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Special Interest Groups
  3. C++ Gurus
  4. How to get total Heap and Utilized Heap by application developed in c++ ?
Forum Updated to NodeBB v4.3 + New Features

How to get total Heap and Utilized Heap by application developed in c++ ?

Scheduled Pinned Locked Moved Unsolved C++ Gurus
5 Posts 3 Posters 581 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.
  • Q Offline
    Q Offline
    Qt embedded developer
    wrote on last edited by
    #1

    I want to know the Function and header file which will give me runtime total heap and utilized heap and available heap in c++.

    If any body know then please let me know i am searching it for find why my application get hang or crash.

    May be my question not only related to c++. it may be related to linux based os specific also.

    jsulmJ 1 Reply Last reply
    0
    • Q Qt embedded developer

      I want to know the Function and header file which will give me runtime total heap and utilized heap and available heap in c++.

      If any body know then please let me know i am searching it for find why my application get hang or crash.

      May be my question not only related to c++. it may be related to linux based os specific also.

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

      @Qt-embedded-developer said in How to get total Heap and Utilized Heap by application developed in c++ ?:

      for find why my application get hang or crash

      How about using debugger or running through Valgrind?

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

      Q 1 Reply Last reply
      0
      • jsulmJ jsulm

        @Qt-embedded-developer said in How to get total Heap and Utilized Heap by application developed in c++ ?:

        for find why my application get hang or crash

        How about using debugger or running through Valgrind?

        Q Offline
        Q Offline
        Qt embedded developer
        wrote on last edited by
        #3

        @jsulm Sorry but i can not able to check it via debugger or valgrind. i can only check it by log.

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

          did you google search it? It's a pretty common question with a lot of existing discussions, ie stackoverflow threads

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

            did you google search it? It's a pretty common question with a lot of existing discussions, ie stackoverflow threads

            Q Offline
            Q Offline
            Qt embedded developer
            wrote on last edited by
            #5

            @Kent-Dorfman yes But i am not getting the right answer. As i mention i need answer in context of C++ and Based on LINUX os

            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