[Qt-interest] Potential Memory Issue QPixmapCache

Aron Bierbaum aronbierbaum at gmail.com
Thu Dec 31 21:32:50 CET 2009


After tracing through this a little more I have found that this was
caused by a bug that has already been fixed for 4.6.1 in qcache.h:

http://qt.gitorious.org/+qt-developers/qt/testdocs/commit/3a8a1f83d60ec16e4c61e2b0a327a5af02917a5a

Thanks,
Aron

On Thu, Dec 31, 2009 at 10:59 AM, Aron Bierbaum <aronbierbaum at gmail.com> wrote:
> I have been trying to track down a memory leak in my application and I
> think I have narrowed it down to the QPixmapCache. I have attached an
> example application that creates a cache and removes/inserts pixmaps.
> While running this application with 4.6.0 memory seems to grow out of
> control. Am I doing something incorrect or just mis-understanding what
> QPixmapCache should do.
>
> Thanks,
> Aron
>



More information about the Qt-interest-old mailing list