ios - UIwebview + HTML with embedded video releasing only part of the memory -


in app have uiwebview behaving quite in regards of memory management.

when open video embedded website (this,specifically: http://bit.ly/1jt0ose) - memory consumption goes 300 mb. dont have influence on contents being shown.

when webview (arc) closed again, part of seems removed memory.

if stop close webview before video played, im able recover large part of memory - longer plays, worse gets.

i tried tricks , tips floating around so, re caching didnt far yet.

am missing fundamental here?

i'm not don't sure maybe need release webview or load empty html string?

[webview loadhtmlstring:@"<html><head></head><body></body></html>" baseurl:nil]; 

see this theme


Comments

Popular posts from this blog

html - Sizing a high-res image (~8MB) to display entirely in a small div (circular, diameter 100px) -

java - IntelliJ - No such instance method -

identifier - Is it possible for an html5 document to have two ids? -