New issue
Advanced search Search tips

Issue 665758 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner: ----
Closed: Nov 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Bug



Sign in to add a comment

High memory usage

Reported by r.browse...@gmail.com, Nov 16 2016

Issue description

Steps to reproduce the problem:
1. Open app using WebView
2. Transition to YouTube 
3. Start movie
4. Do command meminfo

What is the expected behavior?

What went wrong?
It shows "Unknown" section consumes so much memory.
Is there any way for app vendor and device manufacturer to reduce memory usage?

Did this work before? N/A 

Does this work in other browsers? No
 This issue also happen in a all app using WebView.
And it also happen in Android Chrome.

Chrome version: 54.0.2840.85  Channel: stable
OS Version: 6.0.1
Flash Version: 

惻meminfo information

MEMINFO in pid 10749 [com.example.testwebview] **
Pss Private Private Swapped Heap Heap Heap
Total Dirty Clean Dirty Size Alloc Free
------ ------ ------ ------ ------ ------ ------
Native Heap 49221 49168 0 0 59072 55228 3843
Dalvik Heap 3347 3264 0 0 13589 10332 3257
Dalvik Other 752 752 0 0
Stack 724 724 0 0
Ashmem 2522 1720 0 0
Other dev 4 0 4 0
.so mmap 21383 332 20160 0
.apk mmap 313 0 260 0
.ttf mmap 520 0 348 0
.dex mmap 1272 8 1264 0
.oat mmap 3233 0 1968 0
.art mmap 2129 832 536 0
Other mmap 1644 8 1504 0
Unknown 51832 51832 0 0
TOTAL 138896 108640 26044 0 72661 65560 7100
 
Components: Mobile>WebView
Cc: paulmiller@chromium.org
Components: -Blink>JavaScript
Labels: Needs-Feedback
Is this amount a memory a large increase from before? If so, then what was the previous version which consumed much less memory?

Otherwise, if this is just a general complaint about memory usage, I can say that we're attentive to memory and try to avoid large regressions, but there's nothing an app loading arbitrary pages can do about it.
> Is this amount a memory a large increase from before? If so, then what was the previous version which consumed much less memory?

No. 
"Unknown" section  consumes so much memory in some previous version WebViews too.

>Otherwise, if this is just a general complaint about memory usage, I can say that we're attentive to memory and try to avoid large regressions, but there's nothing an app loading arbitrary pages can do about it.

OK, we understand. 
We hope that memory usage will decrease in future WebView.
Thanks.
Labels: -Needs-Feedback
Status: WontFix (was: Unconfirmed)

Sign in to add a comment