PDA

View Full Version : Why Qt5 Memory Usage Incresing?



henry_yue
15th May 2013, 17:18
9038
after minimized the window
9039
I use qtableview to display one grid dynamically,I found that ,my program increase the memory use,but when i minimized the window,the use return to normal status.
I want to know if there is memery detect in my program ,or that is nomal? how did this happen?

Santosh Reddy
15th May 2013, 17:58
It is normal for Qt programs (at-least on windows) to use lesser memory than before minimizing. But this does not mean that your application does not have any memory leaks.

Often developers will see that the actual memory leaks in the application are masked by this behavior. You will need to find other ways to detect memory leaks, like run the application for long hours with full load, or using some memory/program analysis tools