Bug 344305 - Too high memory usage of YouTube Preview plugin on KDE Telepathy Text UI
Summary: Too high memory usage of YouTube Preview plugin on KDE Telepathy Text UI
Status: RESOLVED UNMAINTAINED
Alias: None
Product: telepathy
Classification: Unmaintained
Component: text-ui-message-filters (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: Future
Assignee: Telepathy Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-18 06:37 UTC by Murz
Modified: 2024-09-18 18:12 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Murz 2015-02-18 06:37:52 UTC
When I got youtube link in KDE Telepathy Text UI, i see video preview, and all works well. 

But after I looking video inside of Text UI window via YouTube Preview plugin I see that ktp-text-ui alwasy use too much memory: before looking video - about 150-300 mb, after looking video - more than 2000 mb!!
If I close ktp-text-ui window, memory is freed.

It reproducible every time, on short and small video too. If I not use viewing video in ktp-text-ui, memory usage is normal. 

If I disable YouTube Preview plugin - all works well

System is Kubuntu 14.10, Kubuntu 14.04, but is always reproducible on 6 different computers.

Reproducible: Always
Comment 1 Martin Klapetek 2015-02-18 11:06:27 UTC
I'm not sure there's much we can do, it's using WebKit and the flash plugin, both out of our control unfortunately...
Comment 2 Murz 2015-02-18 12:06:21 UTC
Ok, I will try to find some reports about memory consumption with Youtube and Flash in webkit library. 

Maybe we can solve this bug via embedding HTML5 previewer of YouTube video?
http://www.youtube.com/html5?gl=RU&hl=ru
Comment 3 Martin Klapetek 2015-02-18 12:09:23 UTC
We could try that, but then it's really unreliable afaik because you need webkit with ffmpeg/someotherthings and not everybody has that, no?
Comment 4 Julian 2015-07-10 15:15:39 UTC
Just got hit by this bug. Sent someone a Youtube video link in a IM window, and around 30mins later my hard drive starts going like crazy (14GB laptop). ktp-text-ui was taking around 7GB of memory.

Can you guys take a look at this? I highly doubt this is a problem with Webkit and pepper, since all other apps seem to use that with no issues. 

Kubuntu 14.04 64 bit, up to date.
Comment 5 Martin Klapetek 2015-07-10 15:31:35 UTC
> I highly doubt this is a problem with Webkit and pepper

We have a window and inside use QWebView which is WebKit. Whatever WebKit does or doesn't do when we put youtube embed code inside is moreless out of our control.

Just disable the youtube plugin and all will be good (it's even disabled by default).
Comment 6 Julian 2015-07-10 17:21:58 UTC
Thanks Martin, appreciate you taking the time to answer. Apparently with Kubuntu it's enabled by default since I have it and didn't enable it. I had an animated gif on the same window as well. I will try to see if that had anything to do.

Thanks again, Julian.
Comment 7 Justin Zobel 2021-03-09 07:26:16 UTC
Thank you for the bug report.

As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists.

If this bug is no longer persisting or relevant please change the status to resolved.
Comment 8 Christoph Cullmann 2024-09-18 18:12:49 UTC
Dear user, unfortunately Telepathy is no longer maintained.

Please migrate to another solution, e.g. for Jabber a possibility is Kaidan, for Matrix a candidate is NeoChat.