[Webkit-unassigned] [Bug 134355] Serious canvas memory leak in iOS 7.1.1.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jul 27 16:15:14 PDT 2014


--- Comment #5 from Simon Fraser (smfr) <simon.fraser at apple.com>  2014-07-27 16:15:27 PST ---
(In reply to comment #4)
> Since my last update I did a few more tests using an iPhone 4 running iOS 7.1.2. Here's how to reproduce the issue without Cordova/PhoneGap:
> - Put test case HTML on a webserver
> - Put image with at least 800×800px as “test.png” on web server (not sure if the size is relevant)
> - Create new iOS Single View Application project in Xcode
> - Open iOS storyboard
> - Add UIWebView element
> - Add outlet for web view to ViewController.m
> - Add the following code to -[ViewController viewDidLoad] (make sure to use the correct URL):
>   [_webview loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"http://server:8080/"]]];
> - Run program on iPhone and watch its memory usage using Instruments.app
> When I look at the allocation summary, the IOAccelResource category keeps increasing at a rate of about 24 KB/sec (measured over 8 minutes after a warm-up period of half a minute). CGImageProvider and CGImage keep allocating memory, too.
> Tests with more than one image did not, as far as I could tell, change the numbers in a significant way.
> Interestingly this doesn't even seem to be the same issue that I see in my client's application. All I know is that something somewhere is leaking.

If you haven't already, please file a bug a bugreporter.apple.com with a test application that can be run out of the box.

Have you tested any iOS 8 seeds for this bug?

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the webkit-unassigned mailing list