hai

In this case, the memory allocation is handled by the spidermonkey engine. I guess that the runtime enforces this as a limit. See ./src//modules/libape-spidermonkey.c#L5484
    rt = JS_NewRuntime(8L * 1024L * 1024L);


Peter

Nicolas schreef op 2014-12-04 16:03:
Actually, this can even be simplified. There is no need for several
loops. This is enough to make APE crash quickly.

for (var user_id=1;user_id<=1000000;user_id++){
 g_user_info[user_id]=[];
}

BTW, replacing [] by {} does not help (actually just a little, crashes
come 50% later)

I strongly suspect the way memory is allocated to be the issue. Does
anyone know how APE handles arrays?

There seems to be a small maximum.

 --
 --
 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 [1]
 ---
 APE Project (Ajax Push Engine)
 Official website : http://www.ape-project.org/ [2]
 Git Hub : http://github.com/APE-Project/ [3]

 ---
 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] [4].
 For more options, visit https://groups.google.com/d/optout [5].


Links:
------
[1] http://groups.google.com/group/ape-project?hl=en
[2] http://www.ape-project.org/
[3] http://github.com/APE-Project/
[4] mailto:[email protected]
[5] https://groups.google.com/d/optout

--
--
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