[PyQt] Memory leak when using QAbstractTableModel

Noam Raphael noamraph at gmail.com
Sun Dec 23 13:30:54 GMT 2007


2007/12/23, Andreas Pakulat <apaku at gmx.de>:
> Works fine here on Debian unstable, with a bit older PyQt4(I think from
> November) and Qt4.3.2. Yes the memory usage increases when starting to
> scroll, but not that much. After scrolling from one end to the other on
> both bars the python process is still under 30MB of res-memory according
> to top.
>
> Andreas
>
If you enlarge the window and scroll slowly, does it increase any
more? I think that every displayed cell leaks something, so if you
display more cells, you leak more memory.

Noam


More information about the PyQt mailing list