Unfortunately the company I'm working for can't change the versions. It's increasing the memory every time I create the phonon object. I have a bunch of vids, so every time I hit play I create the object and then in the finished() I want to release it.
On Mon, May 7, 2012 at 11:32 AM, Justin Israel <[email protected]>wrote: > QtCore.QT_VERSION_STR > QtCore.PYQT_VERSION_STR > > Those versions seemed low for 2011 > I would recommend: > Qt 4.5.3 > Sip 4.10 > PyQt 4.7.3 > > That aside, do you mean that every time you create a phonon object, the > memory keeps increasing by 40mb? Or is it a one time increase? > > > On May 7, 2012, at 11:17 AM, Judd Simantov wrote: > > Using Maya 2011 X64 on Windows 7 > > I checked versions with > > sys.version > QtCore.PYQT_VERSION_STR > sip.SIP_VERSION_STR > > not sure how else to check them. > > I haven't done any proper profiling (not too familiar with how to do that > in Python). I'm just looking in the task manager and Maya goes up every > time I that call is made and never actually releases until I close Maya. It > crashes once the memory number goes high enough so I'm assuming its getting > allocated. > > thanks for the help! > > > On Mon, May 7, 2012 at 11:00 AM, Justin Israel <[email protected]>wrote: > >> Can you confirm those versions? They don't seem right. What version of >> maya? >> Also, how are you verifying that the memory is a leak (and for what OS?). >> Memory can still report higher and it doesn't mean its in use. The >> operating system could take it back. The only way to know if its a leak is >> to do a profile. >> >> >> >> >> On May 7, 2012, at 10:44 AM, loked wrote: >> >> > I should also mention, I'm using Python 2.6.4, PyQt 4.4.4 and SIP >> > 4.7.9 just in case it has any version relevance. >> > >> > >> > On May 7, 10:27 am, loked <[email protected]> wrote: >> >> Hey, >> >> >> >> I'm creating an instance of Phonon.VideoPlayer in my UI and every time >> >> I instantiate the player it allocates about 40mb or memory I can't >> >> seem to get back. This is the call: >> >> >> >> player = Phonon.VideoPlayer(Phonon.VideoCategory,self) >> >> >> >> I've tried player.stop(), del player, I've done a sip delete, >> >> player.deleteLater() and player.destroy() but none seem to free up the >> >> memory. >> >> >> >> Has anyone run into the same problem? >> >> >> >> Thanks! >> > >> > -- >> > view archives: http://groups.google.com/group/python_inside_maya >> > change your subscription settings: >> http://groups.google.com/group/python_inside_maya/subscribe >> >> -- >> view archives: http://groups.google.com/group/python_inside_maya >> change your subscription settings: >> http://groups.google.com/group/python_inside_maya/subscribe >> > > > -- > view archives: http://groups.google.com/group/python_inside_maya > change your subscription settings: > http://groups.google.com/group/python_inside_maya/subscribe > > > -- > view archives: http://groups.google.com/group/python_inside_maya > change your subscription settings: > http://groups.google.com/group/python_inside_maya/subscribe > -- view archives: http://groups.google.com/group/python_inside_maya change your subscription settings: http://groups.google.com/group/python_inside_maya/subscribe
