[PyKDE] QObject deletion, die

Patrick Stinson patrickkidd at gci.net
Sun Sep 4 04:22:56 BST 2005


deleting QObject/QWidget objects has never been easy. But, why is it  
that the amount of memory used by the following code is not stable?

for i in range(10000000000):
     o = QObject()
print 'done'


the process memory steadily rises to 700M+, then the app dies.




More information about the PyQt mailing list