daisy
daisy

Reputation: 23489

Qt based program: Memory usage continues to grow

I use top to check the memory usage of My own program , it continues to increase , until my swap space started to be in use.

It's not like a memory leak , because when I close my program , the memory usage drops down immediately.

How should I find out where the problem is ?

Thanks !

Upvotes: 1

Views: 358

Answers (1)

Dan
Dan

Reputation: 1959

It's most likely a memory leak. Use Valgrind, for example, to analyze your code (http://www.cprogramming.com/debugging/valgrind.html).

Upvotes: 1

Related Questions