Relative Content

Tag Archive for javascriptmemory-managementmemory-leaksarraybuffer

Memory usage too high when working with large JS ArrayBuffers

I’m writing some browser code with a lot of large ArrayBuffers. I noticed the memory consumption is unexpectedly large and I’m not sure why that is. I’ve never worked with ArrayBuffers before and I don’t understand it too well. But my test code is short so I’ll include it here: