title: firefox (9), javascript, allocation size overflow due to big data file. Is there any way to avoid this?
body: <p>I am working on a web app that amongst other things, does a first conversion reading a .csv file and converting to a .xml file.</p>
  
  <p>I have a file of 20 mb, which is well processed (so the code is ok).</p>
  
  <p>But I have a file of 80 mb, and the process stops with the message in the Error Console</p>
  
  <p>Error: allocation size overflow</p>
  
  <p>And it points to the last line of an object that stores a large xml string.</p>
  
  <p>The code basically splits the .csv file, for each line splits again the line, and then re-builds the content with xml tags which are added to the variable.</p>
  
  <p>Then I assume that with 80 mb (.csv file) the size of the string is just too big for Firefox.</p>
  
  <p>My question is, is there anything that I can do about it, like splitting the variable or similar workarounds? Or this would be a loss of time?</p>
  
  <p>Thanks</p>