I have a rather large web app mostly written and tested on chromium. While testing it on IE11 it works for a while but then throws Out of stack space, and Stack Overflow at line 0. It is offering literally no way of debugging the issue. Does Internet Explorer handle circular structures differently by any chance? or does it run a limited memory per webpage. My computers task manager shows that IE is using around 1% of my memory where I have 12GB installed.
I have many Objects in this app such as the following...Not an actual snippet just an example.
var Classemployee=function(e){
this.id=e[0];
this.orders=[];
this.prefrences={
somePref:true,
1:blah,
........
}
}
var classOrder= function(e){
this.id=e[0];
this.server=employees[e[1]];
this.status=0;
this.seats={
1: new classSeat(this, 1),
..........
};
}
var classSeat = function(parent, id){
this.id=id;
this.parent=parent;
this.children=[
new classOrderLine(this.id, this.parent, arrayOfLineItemInformation)
]
}
var classOrderLine(parent, order, e){
this.id=e[0];
this.parent=parent;
this.order=order;
}
var orders={}
currentOrder=new classOrder(e);
orders[e[0]]=currentOrder;
The only thing i can think of is IE isn't handling these circular references properly but can't find any information on this subject.