I use to load pages with QWebView:<div><br></div><div><div>  if (Pos('://', URL)=0) and (not FileExists(URL)) then</div><div>    w:='http://'+URL else</div><div>    w:=URL;</div><div>  fUrl:=QUrl_create(@w, QUrlTolerantMode);</div>
<div>  QWebView_setUrl(Handle,fUrl);</div><div>  QUrl_Destroy(fUrl);</div><div><br></div><div>object constructor:</div><div><br></div><div><div>constructor TWebView.Create(Parent : TWinControl; URL: string;</div><div>  aNetworkAccessManager: QNetworkAccessManagerH; SetEditable: boolean = false);</div>
<div>var</div><div>  W : WideString;</div><div>begin</div><div>  Handle := QWebView_create(L2Qt(Parent));</div><div>  QWebPage:=QLCLWebPage_create(TQtWidget(Parent).Widget);</div><div><br></div><div>  QWebView_setPage(Handle,QWebPage);</div>
<div>  QWebPage_setContentEditable(QWebPage, SetEditable);</div><div>  NetworkAccessManager:=aNetworkAccessManager;//QWebPage_networkAccessManager(QWebPage);</div><div>  QWebPage_setNetworkAccessManager(QWebPage,aNetworkAccessManager);</div>
<div><br></div><div>  QLCLWebPage_override_userAgentForUrl(QWebPage, @UserAgentForUrl);//TMethod(QLCLWebPage_UserAgentForUrl_Override(@UserAgentForUrl)));</div><div><br></div><div>  Settings:=QWebPage_settings(QWebPage);</div>
<div><br></div><div>  QWebSettings_setAttribute(Settings,QWebSettingsJavascriptEnabled,true);</div><div>  QWebSettings_setAttribute(Settings,QWebSettingsPluginsEnabled,true);</div><div>  QWebSettings_setAttribute(Settings,QWebSettingsPrivateBrowsingEnabled,false);</div>
<div>  QWebSettings_setAttribute(Settings,QWebSettingsJavascriptCanOpenWindows,true);</div><div><br></div><div>  w:=URL;</div><div>  fUrl:=QUrl_create(@w, QUrlTolerantMode);</div><div>  QWebView_setUrl(Handle,fUrl);</div>
<div>  QWidget_resize(Handle, 500, 500);</div><div>  QUrl_Destroy(fUrl);</div><div><br></div><div>  QWidget_Show(Handle);</div><div>  pURL:=URL;</div><div>end; </div><div><br></div><div>Whenever I call procedure TWebView.LoadURL(URL: string); (first listing) memory usage of my application increases by more less 5-6 MB, sometimes even more. With QWebView_load it is the same.</div>
</div></div>