webm.js icon indicating copy to clipboard operation
webm.js copied to clipboard

Second run in the same worker cause "Out of memory" in Edge

Open Kagami opened this issue 9 years ago • 3 comments

For some reason Edge doesn't like the second run of main function in the same worker and cancels it with Out of memory. Interesting enough, IE11 works fine in that case. It might be result of bug in current implementation of asm.js in Edge.

This can be workarounded by respawning Prober's worker on each run of analyze and decode methods. While it's rather ok to respawn analyzer to be safe against already running issues, it will make software player even slower.

Kagami avatar Aug 29 '15 20:08 Kagami

This is a bug in Edge's asm.js optimizations: https://connect.microsoft.com/IE/feedbackdetail/view/1721733/asm-js-modules-can-only-be-executed-once-with-asm-js-optimizations-enabled

bvibber avatar Aug 31 '15 16:08 bvibber

Thanks for the info!

Kagami avatar Aug 31 '15 16:08 Kagami

This issue seems to be fixed 3 days ago.

Kagami avatar Mar 19 '16 13:03 Kagami