[Qt-interest] [ALMOST SOLVED] player Memory growing.
Marek Bronowicki
marek at cyberdeus.pl
Fri Dec 17 08:19:58 CET 2010
Hi...
I upgraded the Ubuntu to 10.10 and QT to 4.7.0. In fact there also was a
consumption, but a little bit slower. I found in packages
phonon-backend-vlc, so I deinstalled a gstreamer backend and installed
vlc backend just for tests.... and voila - after 10 hours of process
work - memory usage from 64MB-90MB. The only thing I have to test is the
QWebView, because I disabled it for these tests.
Also I have to study this valgrind, beacause as for now I don't really
understand what is he talking to me, but it's a matter of time :)
Thank you for all your replies.
Best Regards,
Marek Bronowicki
On 16.12.2010 15:25, Eirik Ulvik wrote:
> 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