New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 807246 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 725895
Owner: ----
Closed: Feb 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Bug



Sign in to add a comment

OOM will happen when the Android WebView loads the page constantly

Reported by fanjins...@sogou-inc.com, Jan 30 2018

Issue description

Steps to reproduce the problem:
1. build Android WebView instrumentation apk by the latest source code
2. Open the URL: https://m.sohu.com/media/162522
3. Constantly slide down to load more content, the WebView will consume more than 700MiB, and then crash for out of memory.

What is the expected behavior?

What went wrong?
The WebView consumes more than 700MiB, and then crash for out of memory.

Crashed report ID: 

How much crashed? Whole browser

Is it a problem with a plugin? No 

Did this work before? N/A 

Chrome version: 64  Channel: stable
OS Version: 5.0.1
Flash Version: N/A

My device is Galaxy S4(GT-I9500), OS is Android 5.0.1.
GPU: OpenGL ES 2.0 build 1.10@2359475, Imagination Technologies, PowerVR SGX 544MP

The attachment is all logcat during my operation,
 
oom.log.zip
1.1 MB Download
Labels: Needs-triage-Mobile
Cc: sandeepkumars@chromium.org
Components: Mobile>WebView
Labels: WV-Triaged Needs-Feedback
@fanjinsong: Thanks for the report!!

Could you please help us with the sample WebView instrumentation apk file and if possible attach a screencast to check the issue from our end?

Thanks!!
Hi sandeepkumars@,
The OOM happens on my local branch(M56), and then I reproduce it in Android WebView Shell('ninja -C out/Default webview_instrument_apk' on the latest sources code).
During sliding down to load more content, the memory consumed has been growing, event more than 700MiB, and then go to out of memory.
I attach a meminfo screenshot ('adb shell dumpsys meminfo org.chromium.android_webview.shell') before crash.
WebViewShell-oom.png
77.5 KB View Download
Project Member

Comment 4 by sheriffbot@chromium.org, Jan 31 2018

Labels: -Needs-Feedback
Thank you for providing more feedback. Adding requester "sandeepkumars@chromium.org" to the cc list and removing "Needs-Feedback" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Comment 5 by boliu@chromium.org, Feb 8 2018

Mergedinto: 725895
Status: Duplicate (was: Unconfirmed)

Sign in to add a comment