WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 189853
191059
A memory leak problem in iOS 12 when using WKWebview
https://bugs.webkit.org/show_bug.cgi?id=191059
Summary
A memory leak problem in iOS 12 when using WKWebview
Johnson
Reported
2018-10-30 02:43:25 PDT
Created
attachment 353358
[details]
Instruments screenshot When I use instruments profile my app I found a memory leak in wkwebkit, I just know it about thread lock in JavaScriptCore. this problem in others iOS version is fine except iOS12. The following code will have problems in iOS12:
> + WKWebViewConfiguration *configuration = [[WKWebViewConfiguration alloc] init]; > + WKWebView *webView = [[WKWebView alloc] initWithFrame:CGRectZero configuration:configuration]; > + [self.view addSubview:webView];
Attachments
Instruments screenshot
(50.99 KB, image/png)
2018-10-30 02:43 PDT
,
Johnson
no flags
Details
Memory Graph
(289.02 KB, image/png)
2018-10-30 18:40 PDT
,
Johnson
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Johnson
Comment 1
2018-10-30 18:40:42 PDT
Created
attachment 353452
[details]
Memory Graph Memory graph screenshot
Joseph Pecoraro
Comment 2
2018-10-31 14:44:33 PDT
These look like the known false positive:
https://bugs.webkit.org/show_bug.cgi?id=189853
*** This bug has been marked as a duplicate of
bug 189853
***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug