FMS memory question, please help me

FMS memory question, please help me

Postby yuchai » Sat Feb 06, 2010 2:39 am

I use FMS development webgame. 2 application. 1: room 2: game.
room to maintain 24-hour continuous connection. game is the player number 0, shutdown ()

That there are about 400 people online when the room occupied by the memory 500-800M. game only 100M

+
Players reduction, room memory will not reduce still remain in the 500-800M

Is there relevant solutions or comments?


//
//
//
//
function userLogon(_newClient, userType, userName, userPsd) {
var Logon = new LoadVars();
Logon.errorCount = 0;
Logon.onLoad = function(success) {
if (success) {
//trace("---------------------------");
if (this.returnInfo == "ok") {
application.acceptConnection(_newClient);
} else {
var err = new Object();
err.message = "error";
application.rejectConnection(_newClient, err);
}
} else {
this.errorCount++;
if (this.errorCount>=3) {
trace("error");
var err = new Object();
err.message = "error";
application.rejectConnection(_newClient, err);
} else {
Logon.sendAndLoad(sendUrl, Logon, "POST");
}
}
};
var sendUrl = logonUrl+"userName="+userName+"&userPsd="+userPsd+"&";
//trace("logonURL="+sendUrl);
Logon.sendAndLoad(sendUrl, Logon, "POST");
}
//
//
//
The above is my with. Net code for examples of interactive programs.
sendandload in the "function" . To do an asynchronous callback. Used many times in such a way, such

as sending data, user exit, replace the image and so on ... I have used this method
Is it because such an approach lead to memory footprint is too large?
:oops:
yuchai
 
Posts: 2
Joined: Sat Feb 06, 2010 2:35 am

Re: FMS memory question, please help me

Postby KEW » Sat Feb 06, 2010 4:57 pm

Hi,
This is a forum for Flying Model Simulator. I think you have the wrong FMS. Your question leads me to believe that you are using the Adobe Flash Media Server. We can not help you here. I suggest that you try the website at:

http://www.influxis.com.

Regards,
KEW
User avatar
KEW
 
Posts: 161
Joined: Sat Aug 08, 2009 3:53 pm
Location: Ontario, Canada


Return to General Discussions

Who is online

Users browsing this forum: No registered users and 9 guests

cron