try using cmd or any other name in place of info in the function parameters as info is an object in APE Server. This may be the cause of the problem.
On Apr 2, 8:21 pm, mjcoder <mjac...@gmail.com> wrote: > Thanks for the quick response, Anthony. > > For custom server side modules, I have just the following cmd hook > that stores information (ip, name, connection time, etc) with the user > session: > > Ape.registerHookCmd('connect', function(params, info) { > info.user.setProperty('ClientName', params.name); > info.user.setProperty('ClientIP', info.ip); > info.user.setProperty('ClientUserAgent', > params.clientUserAgent); > info.user.setProperty('ClientConnectTime', new > Date().toTimeString()); > }); > > And, I've disabled all other server side js modules but the following: > include("framework/mootools.js"); > include("framework/Http.js"); > include("framework/userslist.js"); > include("utils/utils.js"); > include("commands/proxy.js"); > include("commands/inlinepush.js"); > > Regards, > Matt > > On Apr 1, 5:03 pm, <a.ca...@weelya.com> wrote: > > > Hi, > > > Indeed there is a garbage collector in the javascript engine. > > Btw, it's possible that some memory leak remain. > > > Do you have a custom javascript module? > > > Anthony C. > > > On Thu, 1 Apr 2010 14:55:18 -0700 (PDT), mjcoder <mjac...@gmail.com> wrote: > > > Hi, we are running the latest dev version of APE from github and > > > everything seems pretty stable, but it appears the server may have a > > > memory management issue. > > > > As users connected, the memory the APE server consumed continued to > > > grow and never contracted. For example, after about 3 hours, 3,597 > > > unique users had connected to the APE server and it was consuming > > > ~260MB of RAM. This grew from an initial memory consumption of ~60MB > > > > Most of these users did not stay connected, and therefore my guess for > > > the constant memory consumption is that the APE server is not expiring > > > stale sessions. If that's the case, does APE have a garbage > > > collection mechanism that could clean up these stale sessions and free > > > the memory? Or, is there a manual method of accomplishing this? > > > > Any help is appreciated. > > > > Regards, > > > Matt -- You received this message because you are subscribed to the Google Groups "APE Project" group. To post to this group, send email to ape-project@googlegroups.com To unsubscribe from this group, send email to ape-project+unsubscr...@googlegroups.com 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/