One, once you scale the images are you writing them back down to a cache somewhere? I assume these images don't change often once they're created, so you could cache the thumbnails somewhere to speed up time and performance.
As for the memory issue, are you using the same instance of your UI class or are you instantiating it every time? It should share most of the same memory if you use the same instance. Also, if you are creating an instance, python will keep the memory alive I believe until that instance is nulled. You can also remove widgets in the pyqt classes, to make sure Qt marks it for garbage collection too. so if you have x= MyClass(), once you run x=None, Python will put it up for garbage collection. -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
