Hi,
I am really puzzled by this one. I have been looking at memory issues (leaks?) in my program.
Here is a simple routine to make APE crash pretty quickly.
g_user_info=[];
for (var user_id=1;user_id<=10000;user_id++){
Ape.log("user_id:"+user_id);
g_user_info[user_id]=[];
for (var i=1;i<=7;i++){
g_user_info[user_id][i]=[];
}
//Ape.log(mydump(g_user_info));
}
To reproduce the crash, simply put this at the top of your commands.js file and run APE.
On my dev machine, APE reaches user_id=9,000. On my prod machine, even less, only 6,800.
I am really puzzled as to why such a small array should make APE crash. 7,000 * 7 is not such a big number, right?
So two questions:
1) Can you reproduce the issue?
2) Have you got an explanation? Am I doing something wrong here?
Thanks for your precious help.