Hi, the attached test seems to leak the QListViewItem's instances. I'm using PyQT 3.18.1 / Python 2.6.6. Note this is a simple usage, I'm only creating QListViewItem's and doing a QListView::clear() to delete them, not subclassing QListViewItem or something like that.
script output: nahuel@serge:/tmp$ ./qlist_leak.py Python Version: 2.6.6 (r266:84292, Apr 20 2011, 11:58:30) [GCC 4.5.2] PyQt Version: 3.18.1 VmRss: 13664 Kb list.childcount(): 0 VmRss: 13744 Kb list.childcount(): 0 VmRss: 13900 Kb list.childcount(): 0 VmRss: 14048 Kb list.childcount(): 0 VmRss: 14196 Kb list.childcount(): 0 VmRss: 14344 Kb list.childcount(): 0 VmRss: 14496 Kb list.childcount(): 0 VmRss: 14644 Kb list.childcount(): 0 VmRss: 14792 Kb list.childcount(): 0 VmRss: 14940 Kb list.childcount(): 0 VmRss: 15124 Kb list.childcount(): 0 VmRss: 15276 Kb list.childcount(): 0 VmRss: 15424 Kb list.childcount(): 0 VmRss: 15572 Kb list.childcount(): 0 VmRss: 15720 Kb list.childcount(): 0 ... Saludos, Nahuel Greco.
qlist_leak.py
Description: Binary data
_______________________________________________ PyQt mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/pyqt
