Out of memory crash webOSTV.js 1.2.8

when running local code on device we’ve been seeing ‘out-of-memory’ crashes and it looks to be that the error is coming from webOSTV.js. i’ve seen it on two devices, and another developer is seeing it on their device as well. we’ve been using version 1.2.8. here’s a screenshot of the call stack if it helps.

Please check how much memory your page is currently using with the Web Inspector. We recommend less than 250MB. You can refer to Fix memory problems. Thank you.