[Qt-interest] player Memory growing.

Yogesh Joshi yogesh_joshi at persistent.co.in
Thu Dec 16 15:06:00 CET 2010


Try disabling all web statements, and run your test again.
I had faced the same problem, but then I was using only webview for long time, and kept changing the HTML using setHtml().

Regards,
Yogesh Joshi

-----Original Message-----
From: qt-interest-bounces+yogesh_joshi=persistent.co.in at qt.nokia.com [mailto:qt-interest-bounces+yogesh_joshi=persistent.co.in at qt.nokia.com] On Behalf Of Marek Bronowicki
Sent: Thursday, December 16, 2010 7:20 PM
To: qt-interest at trolltech.com
Subject: [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

DISCLAIMER
==========
This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails.



More information about the Qt-interest-old mailing list