when playing videos in web browsing and searching for tools - I see a high level of memory usage when playing. (Total about 23 MB)
When I leave the view (it is in the UINavigation view), all memory is cleared as it should. (using ARC)
IMPORTANT : I am downloading a video from DISK and not downloading it from the server!
Question: Is there a way to reduce the amount of memory when playing a video?
NSURLCache *sharedCache = [[NSURLCache alloc] initWithMemoryCapacity:0 diskCapacity:0 diskPath:nil];
[NSURLCache setSharedURLCache:sharedCache];
NSURLRequest *request = [[NSURLRequest alloc] initWithURL: videoURL cachePolicy: NSURLRequestReloadIgnoringLocalAndRemoteCacheData timeoutInterval: 10.0];
[webView loadRequest: request];
[webView setOpaque:NO];

chewy source
share