Bug 116525
Summary: | High utilization of system resources[especially RAM] while playing HTML 5 video | ||
---|---|---|---|
Product: | WebKit | Reporter: | shyju <shyjut.09> |
Component: | Media | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED WONTFIX | ||
Severity: | Critical | CC: | ahmad.saleem792 |
Priority: | P2 | ||
Version: | 420+ | ||
Hardware: | Mac | ||
OS: | OS X 10.8 |
shyju
Overview:
----------------------
High utilization of system resources[especially RAM] while playing HTML 5 video.
Steps to Reproduce:
----------------------
[code]
#include "mainwindow.h"
#include <QApplication>
#include <QWebView>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
QString Url1 = "http://www.quirksmode.org/html5/videos/big_buck_bunny.mp4";
QWebView view1;
view1.show();
view1.setUrl(QUrl(Url1));
return a.exec();
}
[\code]
Actual Results:
----------------------
On running above qt program, qtapp launches and the video playback start .
Observed system becoming slow. Checked the resource usage using "Activity Monitor" app. The free RAM size continue to decrease as the playback proceeds. After around 30-35 sec of playback free RAM as low as 6 MB. Before starting the QT application the Free RAM was around 2.1 GB.QT app fails to respond to user inputs.
Observation:
---------------
System become responsive once the full video is buffered which is reflected in the progressbar.
Expected Results:
---------------------
Video playback should not consume so much system resources that application fails to respond to user inputs.
Build Date & Platform:
-----------------------
Tried with QT 5.0.2 and QT 5.0.1 . OS : MAC OSX 10.8.3
Additional Information:
-------------------------
Didn't observe this issue playing the HTML5 video content with flash plugin in windows.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Ahmad Saleem
Qt Framework is not supported anymore.