Hi memory dev team,
I have a web page using WebAssembly for video playing and the memory consumption is very high. Besides, the memory keeps growing when I play the video.
- The attached trace_with_heap_dump-before.json.gz is dumped before loading the wasm part. The private footprint is 374MB
- The attached trace_with_heap_dump-after.json.gz is dumped after loading the wasm part. The private footprint is 2093MB
I also attached two smaps from /proc/<proc_id>/smaps.
Reproduce(SharedArrayBuffer needs to be run with https, See readme in the zip):
I hope you can help me to find out why the memory usage is so large. Thank you very much.