title: Stack vs. Heap in Javascript? (Maximum call stack size exceeded)
body: <p>I'm trying to build a web-page for which I need to shovel around several 100MB of data in JavaScript. With different browsers I run into "maximum call stack size exceeded" errors at different data amounts.</p>
  
  <p>Can I fix this issue by going through my code and trying to move local variables inside functions into a more global scope to try to get them to be allocated on the heap instead of the stack? Or do these concepts not exist in JavaScript? (As far as I know, I don't have any major recursive loops in my data, so it really is a couple of huge strings / number arrays that seem to be causing the error)</p>
  
  <p>If this isn't possible, are there ways to ask the browser to reserve more memory?</p>