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.

-- 
-- 
You received this message because you are subscribed to the Google
Groups "APE Project" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/ape-project?hl=en
---
APE Project (Ajax Push Engine)
Official website : http://www.ape-project.org/
Git Hub : http://github.com/APE-Project/

--- 
You received this message because you are subscribed to the Google Groups "APE 
Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to