[Qt-interest] player Memory growing.

Eirik Ulvik eiriku at simsurgery.com
Thu Dec 16 15:25:45 CET 2010


Hi,
I had the same problem some time ago that caused memory consumption to go through the roof when showing videos. This was actually related to a bug in QWebKit that was fixed. I cannot remember the Qt version the fix was in. Do you have the option to try with a newer Qt version?

Regards,
Eirik

-----Opprinnelig melding-----
Fra: qt-interest-bounces+eiriku=simsurgery.com at qt.nokia.com [mailto:qt-interest-bounces+eiriku=simsurgery.com at qt.nokia.com] På vegne av Marek Bronowicki
Sendt: 16. desember 2010 14:50
Til: qt-interest at trolltech.com
Emne: [Qt-interest] player Memory growing.

Hello

I have a big problem.

Attached is a mediaplayer class which is playing via gstreamer a movie or via qlabel an image or via webkit the flash files.

I'm trying to do my best but It's just too much I think for me. It's a part of much more, but this is the only class that when I disable it, there is no memory grow.

It starts from about 60MB of ram (it depends on a movie). After 8 hours it grows to 500MB (this depends of quantity of loop positions). I noticed, that even QLabel is growing a memory about 4-8KB per view, but a movie is a real disaster. It should play short movies in infinite loop, so I cannot reboot the process every time that it grows to heavy.

QT 4.6.2 on Ubuntu 10.04 x86.
My friend told me that for sure I'm not cleaning something right...

Please help, some guide, some anything that will stop this grow.
Code is not pro, because as You can see I'm not pro :)

Best Regards,
Marek Bronowicki



More information about the Qt-interest-old mailing list