Important: Please read the Qt Code of Conduct -

High utilization of system resources[especially RAM] while playing HTML 5 video tag in MAC.

  • The program:
    #include "mainwindow.h"
    #include <QApplication>

    int main(int argc, char *argv[])
    QApplication a(argc, argv);
    QString Url1 = "";
    QWebView view1;;
    return a.exec();

    When i run my qt program, qtapp launches and the video playback start .
    But i observed my system becoming slow. I checked the resource usage using activity monitor. 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. I am using QT 5.0.1.
    Is there any issue with HTML 5 video tag playback in QT platform in MAC?
    If there is any solution please let me know.

Log in to reply