the new link is https://jsfiddle.net/slushnys/vesx2yr0
On Tuesday, July 9, 2019 at 7:04:23 PM UTC+3, Jakob Kummerow wrote: > > The fiddle is broken ("createFrames" is not defined, "frames.push" is not > a function, "deleteFrames" is never called; that's when I gave up); please > fix it such that it actually reproduces the issue. > > On Tue, Jul 9, 2019 at 5:52 PM Zigmas Slušnys <zigmas...@gmail.com > <javascript:>> wrote: > >> I am reading a video and storing the Mat instance clones of each frame to >> an array so I could play it back on demand and also analyze the frames. >> Once i process the video and store the frames in the array - the memory >> snapshot increases from 150Mb to 1000Mb within the JSArrayBufferData. >> >> I have to mention that i'm using Vue.js frontend framework to store the >> array within vue's data observable that's an array. >> >> Same thing happens also if I'm just creating a regular type of class >> object having an array in. >> >> I've tried deleting and setting each frame to zero just to see if that >> would release the memory, but nothing seems to work. >> >> I've got a simple example of this here: https://jsfiddle.net/9s51poyd/ >> >> >> I would like to release the memory from chrome, because every time I >> analize video now or just copy these Mat instances into an array, memory >> footprint could go up to 9GB. As you can imagine that's not the desired >> outcome. >> >> >> Is there a way to release the memory, because garbage collection >> currently does not work in this case example. >> >> -- >> -- >> v8-users mailing list >> v8-u...@googlegroups.com <javascript:> >> http://groups.google.com/group/v8-users >> --- >> You received this message because you are subscribed to the Google Groups >> "v8-users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to v8-u...@googlegroups.com <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/v8-users/e8ee6213-7ba5-48de-ad27-c80752b4a368%40googlegroups.com >> >> <https://groups.google.com/d/msgid/v8-users/e8ee6213-7ba5-48de-ad27-c80752b4a368%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > -- -- v8-users mailing list v8-users@googlegroups.com http://groups.google.com/group/v8-users --- You received this message because you are subscribed to the Google Groups "v8-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to v8-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/v8-users/21b4e5d0-b150-4c18-9018-a5c783c92b17%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.