[crackling][14.1, 15.1, 16, 17.1] Android runs out of RAM and freezes when using apps with WebView
Expected Behavior
No issue when using apps with WebView components.
Current Behavior
When using apps with WebView components, the cache continues to grow and overflows the RAM, causing the system to freeze and after a while unload everything from the RAM and/or reboot device.
Possible Solution
It doesn't matter what WebView implementation the system uses, e.g. AOSP WebView/Google Chrome (any version)/even Bromite, the cache still keeps growing and freezes the device.
Also the bug still persist in LOS 16 unofficial build from current Wileyfox Swift LineageOS maintainer jrior001.
COS/LOS 13 (Android 6) is not affected.
UPD: The bug still persist in LOS 16 official build. UPD2: The bug still persist in LOS 17.1 official build.
Steps to Reproduce
- Start any app with WebView components (for example lichess, Inoreader (article view), any "lightweight" browser)
- Use it for a while
/device crackling /version lineage-16.0 /date 2019-04-14 /kernel Stock /baseband Stock /mods No
I have read the directions.