jsmpeg icon indicating copy to clipboard operation
jsmpeg copied to clipboard

Memory leak

Open fijackokresimir opened this issue 5 years ago • 6 comments

There is a problem with memory leak which can be reproduced in multiple ways, for example creating/destroying multiple jsmpeg instances. After some time all of memory is used and there is error in console: Uncaught RangeError: WebAssembly.Memory(): could not allocate memory

Then it is necessary to reload page in another tab. Refreshing tab does not solve the problem. Actually, this can be reproduced in demo page by playing video and refreshing: https://jsmpeg.com/

Memory snapshot shows usage from 20mb up to several hundred until it crashes.

I know this is very specific usage of this plugin - running multiple high quality streams and it would be great if you can help with this. @phoboslab

this is different from #274

fijackokresimir avatar Apr 15 '19 14:04 fijackokresimir

do you fixed it ?

WeiFree avatar Apr 23 '19 03:04 WeiFree

do you fixed it ?

no

fijackokresimir avatar Apr 25 '19 09:04 fijackokresimir

I'm getting this exact error when displaying multiple small livecam views on a page. Can anything be done about this?

vdest avatar May 13 '19 10:05 vdest

do you fixed it?

PengpengDu avatar Jun 13 '19 13:06 PengpengDu

@PengpengDu no

fijackokresimir avatar Aug 02 '19 10:08 fijackokresimir

do you fixed it?

ushakhzodbek avatar Jun 28 '22 11:06 ushakhzodbek