sailfishos / sailfish-components-webview

Mozilla Public License 2.0
13 stars 23 forks source link

Disable wasm_baselinejit on lower memory devices. JB#56635 OMP#JOLLA-572 #148

Closed llewelld closed 2 years ago

llewelld commented 2 years ago

WebAssembly, and in particular the baselinejit, seems to have a heavy memory footprint, which can cause the browser to crash on lower memory devices (approx 2Gb or lower).

This change automatically disables wasm_baselinejit on devices with less than 2.5Gb of RAM.