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. Detect memory leak in application
Forum Updated to NodeBB v4.3 + New Features

Detect memory leak in application

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 967 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.
  • M Offline
    M Offline
    M001
    wrote on last edited by
    #1

    Hey,
    I have build a quite big application which uses about 100Mb at startup. When the application runs for about 4hours witout any activity in the ui the memory need is about 170Mb. When it runs long enought the application failes because the memory need is to high.
    Im working on a windows 7 Workstation therefor i cant use Qt Analys with Valgrind. Is there any other programs for windows computers to analyse the memory leak. Or are there any Information what produces such big memory leak?

    Tanks for your help

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

      Hi,

      Unless you are using windows specific API, you could build on a Linux (virtual) machine and run Valgrind on it.

      In between, you can run a static code analysis tool to check whether your allocations have matching deallocations.

      Maybe "Microsoft's performance tools":http://msdn.microsoft.com/en-us/performance/default.aspx would be something to look at (haven't used them myself so I can't comment on them)

      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
      0

      • Login

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