<div dir="ltr">Hello,<div>is there a way to deinitialise QtWebkit in runtime completely? For example for this code:</div><div><br></div><div><div>#include &lt;QApplication&gt;</div><div>#include &lt;QGraphicsWebView&gt;</div><div>#include &lt;QUrl&gt;</div><div>#include &lt;QTimer&gt;</div><div><br></div><div>QGraphicsWebView* graphicsWebView;</div><div><br></div><div>class Deleter : public QObject</div><div>{</div><div>    Q_OBJECT</div><div>public slots:</div><div>    void deleteWebView()</div><div>    {</div><div>        delete graphicsWebView;</div><div>    }</div><div>};</div><div><br></div><div>int main(int argc, char *argv[])</div><div>{</div><div>    QApplication app(argc, argv);</div><div>    graphicsWebView = new QGraphicsWebView;</div><div>    graphicsWebView-&gt;setUrl(QUrl(&quot;<a href="http://www.google.com">http://www.google.com</a>&quot;));</div><div>    Deleter d;</div><div>    QTimer::singleShot(10000, &amp;d, SLOT(deleteWebView()));</div><div>    return app.exec();</div><div>}</div><div><br></div><div>#include &quot;main.moc&quot;</div></div><div><br></div><div>After deleting graphicsWebView object there is still used about 2mb of physical memory (more than 6 mb of virtual memory) by Webkit&#39;s OSAllocator (I tracked mmap&#39;s calls by OSAllocator and then correlated with /proc/pid/smaps). Much of the memory seems to be requested by JSC::JIT::compile function.</div><div><br></div><div>Is there some way to completely clean QtWebkit after it was initialised?</div><div><br></div><div>This is Qt 4.8</div><div><br></div><div>Best regards</div></div>