Open ulissesvaquero opened 9 years ago
I think there's a memory leak in the code, and with large numbers of frames it starts to be very noticeable. I've been able to keep memory consumption by running Chrome with --js-flags="--expose-gc" and running gc() each frame to force a garbage collection.
dataURL's are ~3x larger in term of byte size but javascript strings are not utf8, they are utf16 that means it can take up twice as much memory
I'm trying to reduce it by using blobs instead... (canvas#toBlob) should also be a bit faster to decode/encode then using base64 and converting string to buffer and using atob
I'm also having this problems, any solutions?
Man, thanks for share your solution, i'm Having a problem with memory, in large videos, more than 20min, u know any solution ? You had this problem too?