Forum Discussion

danf84's avatar
danf84
Occasional Contributor
13 years ago

AQTime leaks a lot of memory inside the application...

Hello,



I've been monitoring my application for memory usage while AQtime was attached and was surprised to find that the memory usage inside my application was growing and growing.  This only happens if AQTime is attached with one of its Allocation Profilers.



You can see the memory going up repeatedly in the Task Manager or retrieve memory usage from within your application.



Small demo that creates and frees a thread every 2 seconds is attached.  Obviously those memory leaks aren't reported in AQTime itself.



Kind regards,

Dan

3 Replies

  • Hello Dan,

    We have investigated this. The memory consumption increases, because AQtime accumulates results and keeps the data on the side of the profiled process. There are no memory leaks.

    We will try to improve the situation and make AQtime use less memory.
  • danf84's avatar
    danf84
    Occasional Contributor
    Thank you Irene. I understand, and yet, the growth in memory is particularly large when threads are created then destroyed.  I am looking forward to improvements in this area. Thank you, kind regards, Dan
  • Hello Dan,

    the growth in memory is particularly large when threads are created then destroyed.


    Yes, your observations are correct: the reason of this behavior is that AQtime creates a separate results set for every thread.