Skip to main content
Inspiring
December 17, 2010
Question

FMIS memory

  • December 17, 2010
  • 2 replies
  • 623 views

Trying to figure out how garbage collection works on FMIS 3.5 so I have used simplest server side script that looks like this:

application.onConnect = function(client)
{
  application.acceptConnection(client); 
}

application.onDisconnect = function(client)
{
  client = null;
}

Using test flash client I connected and disconnected 5000 clients, during that time FMSCore.exe went from 15MB to 24MB and after it never goes down, even when I force GC from admin console. Got any idea?

    This topic has been closed for replies.

    2 replies

    Participating Frequently
    December 22, 2010

    Seems like your connections are not going out properly. Can you see "NetConnection.Connect.Closed" info code for all the 5000 clients in your server-side script? Also, what FMS version and platform you are using that may affect this behavior.

    Moreover, make sure you are freeing up the memory once you perform the operations and there are certain tweakable Garbage collection options available in application.xml conf file, you may like to try few combinations there also, that may help you.

    Participant
    December 19, 2010

    Does application.gc() affect your results? I'd be interested to know what platform you're running on, and how you're measuring the memory use.

    It's time we outed more of the workings of FMS. I'm currently trying to understand how threading works after discovering an odd deadlock in server-side code...