Media Server :: Checking JS Runtime Memory Used For Specific Instance?
Jan 11, 2012FMS has print error 'JavaScript runtime is out of memory', Is their any way to check the js runtime memory used for specific instance?
View 7 RepliesFMS has print error 'JavaScript runtime is out of memory', Is their any way to check the js runtime memory used for specific instance?
View 7 RepliesI'm getting this error with one chat application. According to
[URL]
..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.
Not talking video here. Talking interactive apps, like chat. Ours crashes at about 500 connected users. When I report this I'm told "make sure you're not creating too many objects serverside" or "increase the JSRuntimeSize setting in your application.xml file to the max". Have now done both of those things but still get this out of memory error. Let's say I optomized my app and got 100% more connection capacity. That would be 1,000 connected users - still nowhere near enough. Are my dreams of 6,000 or 10,000 connected users enjoying all of the fruits of the FMS interactivity pipe dreams?Is it not meant for sessions of that size?
View 3 RepliesI have Flash Media Interactive Server 3.5.5 on Windows 2008 server. I developed video chat application (many to many), it's only 1 FMS application with about 50-100 room instances and 1 lobby instance to which all users are connected. There are up to 600 - 700 users at a time which produce about 2000-2500 connections to FMS. Problem I have is with steady raise of memory usage, which if goes little above 2GB will make FMS unresponsive and it would restart itself after about 1-2hours. To avoid that Im restarting FMS manualy every 3-4 days. Interesting thing I noticed is that if I restart FMS from admin console, used RAM memory won't fall at levels as if it would right after whole Windows server is restarted
[Code]...
We find a problem about STANDARD FLASHPLAYER PLATFORM,memory leaking on new flashplayer version(10.1.82.72 or newer) happens while testing the flashplayer in live mode connected to the standard FMS in a period of more than 24 hours.the Phenomenon is as follows,the player screen seems suddenly fixed after some time and the memory start to increase ,the peak of virtual memory consumption is up to 1.3 G(2.0G of physical memory),and a moment later,white screen happens with a exclamation point.
1. test aim test the stability of STANDARD FLASHPLAYER FLATFORM in a long period
2. test environment SERVER STREAMING SERVER: ADOBE FMS 3.5.1 CODEC SERVER : ADOBE FME 2.5 OPERATIONG SYSTEM: WINDOWS 2003 PROFESSIONAL CAPTURE CARD: OSPREY530(720*576)
[Code]...
We're on the way to buy a 1 CPU license for FMES4 and I'm looking if anyone can provide real world benchmarks. We will use a Intel X5680 CPU with dual Port 10Ge NIC and we're wondering how much concurrent p2p RTMFP Session the server will be able to handle.
If a p2p RTMFP Session can not be created we want fallback to another server instance with the cheaper FMIS4 on it, is this the right way to handle this?
I am using osmf1.0 and am trying to connect to a server to do multibitratestreaming from a level3 FMS instance 3.5. The protocols osmf are rtmpe and rtmpte with 3 different ports 1935,443,80. All in all creating 6 different connections. It then goes and tries to connect to either of these connections asynchoneously (50ms separation between each attempt) which means a later attempt can succeed before an earlier one. The device I am using is an htc mobile running on android (user agent: Mozilla/5.0 (iPhone; U; CPU iPhone OS 3_0 like Mac OS X; en-us) AppleWebKit/528.18 (KHTML, like Gecko) Version/4.0 Mobile/7A341 Safari/528.16).The problem Typically, all attempts will fail (NetConnection.Connect.Failed) but occationally one does succeed but only over rtmpte but no specific port.In contrast, with Akamai it does work every single time.
View 4 RepliesIs there any kind of method with any other programming langauge like php to merge multiple flv files to one so that they will stream as a single file with out any between them gap.
View 1 RepliesFMS is crashing with the following errors:
2011-12-06 10:24:02 12461 (w)2581227 Shared memory heap (__FCS__) has exceeded 90 usage. Consider increasing the heap size to prevent future memory allocation failures. -2011-12-06 10:24:02 12461 (w)2581227 Shared memory heap (__FCS__) has exceeded 90 usage. Consider increasing the heap size to prevent future memory allocation failures. -2011-12-06 10:24:02 12461 (w)2581227 Shared memory heap (__FCS__) has exceeded 90 usage. Consider increasing the heap size to prevent future memory allocation failures. -
When I try to restart I get:
2011-12-06 17:33:27 7933(e)2781340 Process 7933 failed to create IPC queue __FCS__ : Failed to allocate shared memory. - I've noticed the problem resolves when I restart fmsadmin. I think fmsadmin is using up all the shared memory, not sure. There are HTTP requests periodically being sent to fmsadmin, could this be a source of memory leak?
The server has 6 GB RAM and there are only about 100-200 connections being used. Runs without issues most of the time, crashes once every few days.What is the shared memory heap and how do I increase it?
Is there any way to detect webcam and microphone connections in runtime in flex.Suppose the clients are participated in a videoconnference .One of clients joins the conference without webcam.In meantime he connects to webcam as he in the conference.How to stream that user video to all connected clints.
View 5 RepliesIt stands to reason that an OS would have a memory limit for the FMS process. I have a video chat app to which I may need to connect 300,000 or more concurrent users. Has anyone done this? Would this break the bank? What's the most you've ever had connected at once?
The video portion of my app goes through a good CDN, so I don't think there's a problem there. But my chat room is all on one FMS instance. I see something in FMS docs in "configuring performance features" that warns, "Adobe recommends that you ensure that your total system memory usage does not exceed the process limit of your OS". Granted it's in the context of configuring media cache, but wouldn't the same apply to chat room size if the numbers get high enough?
We have FMS 3.0 and I have been asked if we had say a 30 minute .flv, would we be able to stream just from minute 5 to minute 10 of that 30 minute video? There are usually 6 'clips' in these 30 minute videos that we want to be able to stream seperately but we don't want to have to create 6 different .flv files.
If it can't be done with FMS 3, can it in 3.5 or 4?
I need to protect my FMS, so that only me (my Username, or IP if its not possible) can start a live stream. I have been reading the pdf on plugin for developers, and i read that the authorization plugin can do this, but it is C++ and i dont know nothing about that, i can understand a little bit, but i do not know how to make the dll i want. Is there another way to do this, the server requests a user and password when i want to stream.
View 10 RepliesIs it possible with the Flash Media Streaming Server 3.5 to only allow a specific IP range to the archived video stored on the server. However allow the live feed full access to the server, so basically in the end have the archived video locked down to a specific allowed IP range and the live feed available to the public? What would the Interactive server have as far as advantages to the Flash Media Streaming Server in this regards?
View 1 RepliesWe need different parameters to play live/playback:
// play live from server //ns.play("test",-1,-1,true); //playback //ns.play("test",0);
So how to wrap it all up so that it'll automatically detect whether the stream to play is alive,and use the proper parameters ?
We've just installed Flash Media Server 4 to host video for a new client. We've gotten it to serve up video to the public and ourselves (inside our own network), but the problem is our client cannot view the videos. They keep getting a "can't connect to the network" message.Does anyone know of how we should troubleshoot this? The videos are each about 90 minutes long, and for right now, there are six of them, which is why we wanted to stream instead of embedding them.
View 4 RepliesIs that possible in FMS interactive? By regular, integrated means of the server itself? Without writing any code, just by using regular administative tools for FMS? Just simple "restrict encoders by IP" function.
View 2 RepliesI have an application running in FMIS 3.5. Everything is working. Now I want to create two application instances, one for a live stream and one for a development stream. That way I can test my application against the development stream without interfering with the application that manages the live stream.So first I created folders under my application. Say the application's name is test. I created two folders, dev and live. Then I changed my Flex 3 applications so that they would write to rtmp://mydomain.com/test/live/stream. But the application still records the live stream in test, not test/live.[code]
I restarted my vhost. My application still records my live stream into the test folder instead of test/live.So I removed those entries and restarted my vhost.Then I added a folder called streams below my test folder. And I added dev and live subfolders below streams. I saw this on another post somewhere. But this didn't work either.I have not been able to find the configuration element(s) that enable multiple instances in one application.Am I missing a configuration parameter somewhere or is this a bug in 3.5?
I have an application on FMS. When a user connect to FMS it will create an application instance. My question is that if all users that connect to it disconnect the instance will be unload automatically?
View 5 RepliesThe only options in my AWS Mananagement Council are to reboot and termiante. If I understand this correctly, if I terminate, I lose all my setup instructions and would have to pay the $5 one-time fee once I restart. Is this correct?How can I setup my instance so I can stop it? I've looked at the support page and it says that I need to have my instance backed up with EBS rather than S3. These instructions are not too clear, because I thought a 8gb EBS is included when you initialize FMS. Here is the support page:[URL]..
View 4 RepliesI wrote the following code to check memory when loading a big image (~20Mb). Every time I do mouse click, the application eats up memory, so something doesn't get deleted or cleaned with GC but I can't figure out what exactly.
imageLoader.as
PHP Code:
package {
import flash.display.Loader;
import flash.net.URLRequest;
public class imageLoader {
var fname:String
[Code] .....
i like to know how to declare a global variable in FMS, so that i can access it from different application instance of a same application.
View 4 RepliesComplete log error is (_defaultRoot_, _defaultVHost_) : Failed to load application instance publishLive/live.. Flash Admin Server and Flash Media Server are running on local machineWhen testing I get [object NetConnection]: NetConnection.Connect.Failed When I remove the main.asc file it works...what's going on there?
var nc;var ns;var nsr;
// Called when a client connectsapplication.onConnect = function(client) { // accept the new client's connection application.acceptConnection(client);
[code].....
How to write an AS3 object's memory location for example to a label?
View 3 RepliesSuppose that I have two applications running on the same page. I have the Libraries compiled into the SWF file: [code]Is RSL intended to just improve the download time (via caching) or does it also lower the memory foot print of an applicaiton?
View 1 RepliesI used to write programs in the android sdk for google phone. One of the android developers guide that I read says that it is more efficient to declare a const public static const NO:String = "no";
var1 == NO;
var2 = NO;
than to do this
[code].....
I'm making a game for the browser that has a lot of assets, but not all of them are needed at once. I'm deciding whether to embed my assets at compile time or load them at run time. I'm not concerned about loading time -- only the performance of the game during run-time.
If I load these assets and store them into memory for eventual use later in the game, will they consume system resources just being latent in an AssetLoader? Will that affect performance?
If I embed these assets, will they consume system resources just being latent in the compiled SWF?
Is there a difference in performance between these 2 methods?
im making a sort of a game and depending on what u choose u may load 1 of 3 or 4 options of movies into a specific level for each option. Meaning: the different toy hands are allways loaded on level 3, no matter which u choose and so on. At the end i need to make a list of the choices the user did, so i need to know if "hands_blue.swf" is loaded in level 3, and if so then push."hand blue" into an array. Im trying this on the _root frame,but no matter what option i take, i allways get the same option:
Code:
list=new Array();
if (_level(3)==="hands_blue.swf") {
list.push("Selecci�n: hand blue");
[Code].....
I'm developing a diet checker that users enter their recipe into an input field and compares it to an external text file with a list variables of ingredients and then underlines or highlights certain ingredients that would not be good to eat.
I need to check this input box for certain words and see if there are specific words before or after those words.The word "egg" WOULD BE highlighted/underlined as a bad ingredient but "egg white" would NOT have the "egg" part highlighted The word "fried chicken" WOULD BE highlighted/underlined but "baked chicken" or "broiled chicken" would NOT be highlighted The external variable text file lists the words I'm searching for and the words to replace them with but, the code I have cannot yet determine if the word "white" is after the word "egg" and then not have the "egg" part of the phrase underlined.
Is it possible to check if a button instances is available on a certain frame?
i.e.
Frame 1 has the following movie clips
a_btn
b_btn
c_btn
Frame 2 has the following movie clips
a_btn
c_btn
I want to check if buttons a, b, c is available on Frame 2 and run a corresponding function if condition 1 or condition 2 is met