grayhamster
New Member
I'm working on creating html page using client side javascript which will load around 150mb of XML data file on page load. When the file size was around 5 mb, it took 30 seconds to load whole data into an array. But when I changed file to 140 mb, the page is not responding in firefox and crashing abruptly in chrome. My snippet to load data will process on every individual tag in xml. My question is, is there any limited heap size for javascript? Any academic article resource is preferable to emphasize my research.\[code\]$(document).ready(function () { // Open the xml file $.get("xyz.xml", {}, function (xml) { // Run the function for each in the XML file $('abc', xml).each(function (i) { a = $(this).find("a").text(); b = $(this).find("b").text(); c = $(this).find("c").text(); ab = $(this).find("ab").text(); bc = $(this).find("bc").text(); cd = $(this).find("cd").text(); de = $(this).find("de").text(); // process data dosomething(a,b,c,ab,bc,cd,de); }); }); });\[/code\]