title: Where does Node.js store buffers?
body: <p>The <a href="https://nodejs.org/api/buffer.html" rel="noreferrer">Node.js documentation on <code>Buffer</code></a> says:</p>
  
  <blockquote>
    <p>Raw data is stored in instances of the <code>Buffer</code> class. A <code>Buffer</code> is similar to an array of integers but corresponds to a raw memory allocation outside the V8 heap. A <code>Buffer</code> cannot be resized.</p>
  </blockquote>
  
  <p>Okay, so buffers are <em>not</em> stored in the V8 heap, but… where <em>does</em> Node.js actually store them? I can hardly imagine that it's on the stack, is it?</p>
  
  <p>In other words: What exactly does</p>
  
  <blockquote>
    <p>a raw memory allocation outside the V8 heap</p>
  </blockquote>
  
  <p>actually mean?</p>