Use the Memory Inspector tool to inspect the ArrayBuffers in JS
In this example, we will create a loop that creates a new ArrayBuffer and fills it with random data. We will then inspect the memory used by the ArrayBuffer in the Memory Inspector.
index.js
buffer
by clicking on the memory icon (or through the context menu of buffer
by
right clicking, then "Reveal in Memory Inspector panel")b2
by expanding to see the buffer, and select the memory icon (or through the context
menu of b2
b1
by expanding to see the buffer, and select the memory icon (or through the context
menu of b1
(refocuses on the memory tab of the first buffer)