Is there a limit on a JS variable that holds the contents of a file that is returned from ReadAll method?
<p>I am reading a file using JS like this:</p>

<pre><code>var fso = new ActiveXObject("Scripting.FileSystemObject");
var s = fso.OpenTextFile("C:\\file.txt", 1, true);
rows = s.ReadAll(); //also we can use s.ReadAll() to read all the lines;
s.Close();
</code></pre>

<p>Is there a limit to the variable 'rows'? If I have a file with 1 million rows, will that be okay, or could it exceed the memory capacity of the variable?</p>

<p>Thanks.</p>
