Skip to main content
Known Participant
June 29, 2010
Question

Urgent: JavaScript runtime is out of memory; server shutting down instance

  • June 29, 2010
  • 1 reply
  • 828 views

I'm getting this error with one chat application.

According to

http://www.adobe.com/livedocs/flashmediaserver/3.0/docs/help.html?content=09_config_statuscodes_1.html

..I should "Check the JavaScript runtime size for this application in the  configuration file".

By default it was set to 1024.  Any attempt to increase it causes FMS not to start again.

This problem just came out of the blue.  This same chat app has been in operation with no trouble for about 10 months.  I restart the server machine on which it resides before each new chat session.

Any suggestions?

    This topic has been closed for replies.

    1 reply

    June 29, 2010

    It's unusual that the server wouldn't start after increasing the runtime size limit. You should be able to increase it to as much as 50MB (51200). What value are you entering into the config file? Are you getting any errors in the logs after making the change and restarting the FMS services?

    Known Participant
    June 29, 2010

    I tried a number of values that were multiples of 1024 (2048, etc).

    The only thing that worked seemed to be changing the number and rebooting the server machine.

    Not sure what caused the initial problem though.  Saw very wierd activity in the FMS console.  Had a few hundred users connected, as I typically do for one of my events, and the chat application was repeatedly unloaded from FMS.  When it was reloaded the FMS console would show crazy large numbers in the "Clients" column - numbers like 3954.  Then it would drop to like 340.  Then shoot up again to wildly large numbers.

    Is that the result of a memory problem?