Flash :: Media Server - Memory Leak Of New Version

Nov 1, 2010

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]...

View 1 Replies


Similar Posts:


Actionscript 3 :: Memory Leak In Server Polling Presentation App?

Feb 22, 2010

I'm building a remote presentation tool in AS3. In a nutshell, one user (the presenter) has access to a "table of contents" HTML page with links for each slide in the presentation, and an arbitrary number of viewers can watch the presentation on another page, which in turn is in the form of a SWF that polls the server every second to ensure that it's on the right slide. Whenever the admin clicks a slide link in the TOC, the database gets updated, and on its next request the presentation swf compares the label of the slide it's currently displaying to the response it got from the server. If the response differs from the current label, the swf scrubs through the timeline until it finds the right frame label; otherwise, it does nothing and waits for the next poll result (a second later).

Each slide consists of a movieclip with its own nested timeline that loops as long as the slide is displayed. There's no actionscript controlling any of the nested movieclips, nor is there any actionscript on the main timeline except the stop();s on each keyframe (each of which is a slide in the presentation).

Everything is built and working perfectly. The only thing that's troubling is that if the presentation swf is open for long enough (say, 20 minutes), the polling starts to have a noticeable effect on the framerate of the movieclips animating on any given slide. That is, every second, there's a noticeable drop in the framerate of the animations that lasts about three-tenths of a second, which is quite noticeable (and hence is a deal-breaker for the whole presentation suite!).

I know that AS3 has issues with memory management, and I've tried to be diligent in my re-use of objects and event listeners. The code itself is dead simple; there's a Timer instance that fires every second, which triggers a new URLRequest to be loaded by a URLLoader. The URLLoader is reused from call to call, while the URLRequest is not (it needs to be initialized with a new cache-killing value each time, retrieved from a call to new Date().time). The only objects instantiated in the entire class are the Timer, the URLLoader, the various URLRequests (which should be garbage-collected), and the only event listeners are on the Timer (added once), the URLLoader (added once), and on the routines that scrub backwards and forwards in the timeline to find the right slide (and they're removed once the correct slide is found).

I've been using mr doob's stats package to monitor memory usage, which definitely grows over time, so there's gotta be a leak somewhere (it grows from ~30 MB initially to > 200 MB after some scrubbing and about 25 minutes of uptime).

View 2 Replies

ActionScript 3.0 :: Memory Leak Using Flash.media.video And Bitmap For Frame By Frame Function?

Oct 12, 2009

i have a pb of memory leak:i using flash.media.video to read video i have function to do frame by frame:FrameBuffer is an Array containing my video frame, lastimg is Bitmap object

[Code]...

View 1 Replies

Media Server :: Check Which Version Of Flash Media Server Is Installed On?

Mar 8, 2010

Is there any way to check which version of flash media server is installed on my computer?

View 5 Replies

Media Server :: Where To Download An Older Version Of Flash

Feb 15, 2010

Where can I download an older version of Flash Media Server? I need 3.0 for a client with an existing, dated infrastructure.

View 2 Replies

Flash :: Memory Leak Of Image?

Dec 9, 2010

I'm making a photo browser. I load 15 photos as Images and add these Images to HGroup every time. When user presses 'next page', I first unload the existing Images by 'Image.unloadAndStop()' and 'Image.source=null', and then load new photos. However, it seems that the GC never works. The task monitor shows that the memory use of my AIR reaches as much as 1.2G! Some people said it's a bug of Image when you load a picture larger than 1.5M. Is it true?

View 1 Replies

Flash - Memory Leak When Loading SWF?

Jun 13, 2011

I have a loader SWF that runs some code in the background and loads other SWFs. Using this code:

private function loadScreensaver():void {
screensaverSWF = new Loader();
var req:URLRequest;
switch(areaNumber){

[code]....

I load the screensaver and add it to the stage. Using MonsterDebugger I can see that memory steadily rises from around 80mb upwards until the application exits (Im using windows projector). What I can't work out is why, there is no code attached to the screensaver SWF, just some timeline animations of things fading in and out.

EDIT:I've kept testing and found where I have an image that starts of stage then tweens on and off and is removed. When it loops it adds to memory again, as if the first image is still kept. This is all done on the timeline.

View 5 Replies

ActionScript 1/2 :: FLVPlayback Memory Leak In Flash CS3

Mar 31, 2010

I' making a flash file with AS2 in Flash CS3. I put a FlVPlayback in stage and let it load a couple of FLV files from my local HDD and playing continuously. I use "addEventListener" to check the current running flash movie is completed. After complete event occur, I load another flv movie to paly again.Here, I noticed that memory usage is increasing every time a new flv file is loaded and played. I heard "addEventListener" in CS3 is causing the memory leak and not being detected by GC. [code]

View 2 Replies

Flash :: Memory Leak With The SuperPanel Class?

Feb 10, 2010

I have got a memory leak problem in the example below(u can download the code from the link)
http:[url]......

Running in Profiler:- What I am trying to do is creating new panels by selecting the Add new panel button.I am selecting option allow Close (check box).(After creating few panels and closing these panels i could find there is memory leak with the SuperPanel class) how to resolve this memory leak.I tried by changing optional parameters in addEventListener, but that didn't work.

View 1 Replies

ActionScript 2.0 :: FLASH BUG (memory Leak - LoadVariables)

Apr 19, 2004

We are working on a project where Flash application should read in a constant loop variables from php script and then properly react. Everything works fine execpt after a memory usage start to grow at 1Mb/min, more or less... it varies from time to time. Our browser works then very slow (Mozilla Firefox, Opera, Mozilla Firefox and Mozilla for Linux) Our code:

[Code]...

View 4 Replies

ActionScript 2.0 :: FLASH BUG (memory Leak - LoadVariables)?

Apr 19, 2004

We are working on a project where Flash application should read in a constant loop variables from php script and then properly react.Everything works fine execpt after a memory usage start to grow at 1Mb/min, more or less... it varies from time to time. Our browser works then very slow (Mozilla Firefox, Opera, Mozilla Firefox and Mozilla for Linux)

Our code:

_root.onEnterFrame = function()
{
load_lv = new LoadVars();[code]...

We also tried with function LoadVariables but we got the same results (MEMORY LEAK).Is this a bug in a Flash or we are missing something?Is there any other possible way to read variables from php script. (10 times/sec).We have also tested an AMFPHP example found on the [url]... and if you click on search button very often and fast for a while you also get memory leak.

View 5 Replies

Actionscript 3 :: Flash BitmapData .draw Memory Leak?

Jul 7, 2011

I have a large sprite...and I'm splitting it into several smaller ones with function bellow. The function works great but the memory usage of my .swf grows dramatically.

private function split_sprite(sp:Sprite,the_parrent:Sprite) {
var region:Rectangle = new Rectangle();
region = sp.getBounds(the_parrent);

[code]....

View 1 Replies

Flash :: Builder 4.5 Profiler Not Finding Memory Leak?

Oct 11, 2011

I'm working with a large modular app, and most of the swfs were made in Flash Professional. When I load the app in the Flash Builder Profiler, the memory usage appropriately goes up and down as I add and remove modules. When I flip between two modules many times, I end up with the current memory in the Profiler more or less where I started at around 2 megs. System.totalMemory, however, shows that the flash player has only been allocating memory and is currently using 106 megs. Is there a certain bug known to do this, or is there a better way to detect memory leaks? I'm using the latest flash player debug version.

Note: The SWF modules are all permitting debugging, and the Profiler picks up objects in them.

View 1 Replies

ActionScript 2.0 :: Memory Leak When Testing On Flash Player 10?

Sep 1, 2011

I'm quite confused on what differences there can be between different versions of the flash player. Since I started coding my last game I've been testing it on chrome and firefox with good results (flash player 10.3.xxx). The memory needed to run it is always around 20 MB and also the cpu usage is pretty low. Also with the player 11 beta on ie the memory needed is around 50 Mb. But when i try to test it on the flash player 10 something is not working, the memory used by the game keeps growing and the garbage collection seems to be in holiday. Can this be related to the fact i'm coding it with the last cs5 (in as2)? Or since it's a board game i needed some listeners that could create this problem?

View 0 Replies

ActionScript 3.0 :: Flash Builder 4 Simple Code Has Memory Leak?

Jun 29, 2011

I was using a trial edition of flash builder 4 professional and I figured before it ran out I would test the profiler. What shocked me was the number of objects that were left resident in memory. After seeing that I decided to set up a small test and had very bad luck. I was hoping someone can look at the following and tell me assumption i have that is just wrong.

[Code]....

View 3 Replies

Media Server :: JavaScript Runtime Is Out Of Memory; Server Shutting Down Instance?

Jun 29, 2010

I'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.

View 2 Replies

Media Server :: Purchase Next FMS 4 Version Update?

Jan 21, 2011

When Codename Cirrus has modifications, like recently, is it reflected in the flash plugins, or will I need to purchase the next FMS 4 version update?

View 3 Replies

Media Server :: Download Flvcheck Version 2.0?

Jul 6, 2011

Limelight, my CDN, require that I check my media files using flvcheck version 2.0. I have downloaded version 1.0 from the Adobe Downloads page, but can't find version 2.0.

View 2 Replies

Media Server :: FMS Bandwidth Detection To Deliver Appropriate Video Version

May 30, 2011

Is anyone familiar with the function of the Flash Media Server where it can detect a user's connection speed and deliver the appropriate quality version of the video on the user bandwidth detection?

View 1 Replies

Media Server :: Multi-point Publishing With Different Version Of FMSs?

Oct 23, 2011

I use different versions of  FMS (3.0 3.5 4.0 to 4.5) to muti-point publishing?Use existing old ones for most streams, and use 4.5 for iOS apps.

The answer is Im guessing probably yes, as I was able to multi-point publish to different big company's new FMS (4?) from one of our FMS 3.0 machine. But just to make sure before I make investment? Also Air 3 sdk based iOS app now can connect to FMS 4.5 and play h264 live video stream on ios devices over the appstore approved http-live-streaming protocol right? Just to be clear

View 2 Replies

Memory Leak In My Shooter Game?

Oct 20, 2011

I'm very new to flash,and have been digging through google and this site for information on how to piece together an AS2 shooter game.Its going well enough, but I'm having slowdown issues the longer the games runs, and I was hoping someone here could point me in the right direction.To paste an enemy movie clip on the screen, i'm using this:

Code:
var spawn =_root.attachMovie("monster1","monster1"+_root.getNextHighestDepth(),_root.getNextHighestDepth())[code]........

I need them stored in an array so that the player's shots can test weather or not they've hit any monster on the bullet's enter frame function, then call that monster's movie clip's take damage function. I'm using a for loop to do this:

Code:
for(var i in _root.player.foes){
if (this.hitTest(_root.player.foes[i])){
_root.player.foes[i].takedamage();}
}

I think the problem with the slowdown is that each time I place an enemy on the screen the array gets bigger and bigger. The slowdown only happens while the player is shooting, and I suspect the ever longer for loop with the hit testing is causing it.

I'm already removing the monster's movie clips as they get killed or exit the screen, I guess what I need is a way to reduce the size of the array at the same time, or at least tell the for loop not to do a hit test unless the monster is still alive.

View 3 Replies

ActionScript 3.0 :: Memory Leak During CopyPixels?

Mar 1, 2012

I am making a custom renderer using the copyPixels function for my Haxe/Flash game. So I have this kind of code :

buffer.bitmapData.copyPixels(m_CurrentSkin, RECT3, POINT, null, null,true);

where :

-buffer is the bitmap where all my scene's objects are drawn

-m_CurrentSkinis the BitmapData that contains the current frame of the object to be drawn

Every time m_CurrentSkin contains a BitmapData that have never been drawn (the first time that an animation frame is drawn for example),I have a memory leak that is not garbage. However if m_CurrentSkin contains a BitmapData that have already been drawn (when the animation is played a second time for example), there isn't any memory leak.If I comment this line there is no leak so the problem comes from there.It seems that a copy of the BitmapData is cached in memory but I have checked in my code and there is no cacheAsBitmap explicitely set to true.

View 3 Replies

ActionScript 3.0 :: Stopping The Memory Leak?

Apr 28, 2010

I am trying to find out how to stop the memory leaks that I seem to get when making up dynamically loading picture slideshows. It is difficult to try and give a perfect example of this so I would rater try and show it in action. Here are 2 separate tutorials on how to build a slideshow, though they are slightly different I think this will illustrate my point, there is one problem and that is that the only browser I know of that will show this correctly is Safari,[code]....

Ok now in safari open up your Activity window and take a look at how these 2 different slideshows seem to operate, Link 1 seems to have a memory leak,because each time the picture loads a new instance of it, if this were automated it would be a far bigger issue, like the second url of Link 1.Now when I make my own slideshows I find that mine are also like the first and second links and not like the third.

View 3 Replies

ActionScript 3.0 :: Memory Leak In Project?

Mar 31, 2011

i am working on this project wherein i instantiate an flvplayback at stage and let it play ,, after playing i instantiate 1-4 flvplaybacks on stage and the user kan nove choose a new film to watch .. but each time i instantiate the flvplayback(s) the project gets slower and slower .. the video gets bugggy and the sound is out of sync ..if anyone can see something wrong with the way i do it i would be ever so happy

[Code]...

View 1 Replies

ActionScript 3.0 :: Loader Memory Leak?

Nov 20, 2009

While tracking down the source of a memory leak, I stumbled upon a strange issue with AS 3.0 and loading external flash movies. From what I can tell this somehow related to the custom classes stored inside the loaded movie. I have two versions of a basic file that contains one image on the stage (I also tried this with vector graphics with the same effect). One version has a custom document class (just a simple extends MovieClip with no additional code) and the other has no document class.

The graph below depicts the memory usage from loading the file without a document class.It performs the garbage collection as you would expect after each unload operation.However when I try to load and unload the same file with a document class, I get the following memory usage graph. As you can see, memory usage is slowly creeping up with each load operation.It almost seems that Flash is caching the class files, so I tried changing the application domain for the loaded content without success. Even if Flash was caching the class files I would assume that it would be able to detect that it had already cached the document class and simply re-load the cached version

View 4 Replies

ActionScript 2.0 :: Identify Memory Leak On Swf?

Feb 9, 2011

i saw that my app after some time, it becomes slow.. so i guess i have a memory leak? How could i be sure about that and track it down?

View 2 Replies

Media Server :: FMIS Restarting And Memory?

May 22, 2011

I 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]...

View 6 Replies

ActionScript 2.0 :: Memory Leak In The New Loader Class?

Aug 3, 2006

I am making an application where I load a picture from the web at a rate of once per second. When I load a new picture I unload the old one the problem is that the old pictures are never completely erased from memory and the application keeps on consuming more and more memory until I'm guessing it eats all the memory in the cache (I haven't run it for that long yet :))

here is the code: what this does is load a picture when you click the screen, then unloads it when you click the picture. do it a few times and notice that the numbers (which show System.totalMemory) only go up but never go down to their original amount...

Code:

var url:String = "http://www.memorycity.com/shop/MBB/images/GIGABYTE_memory.jpg";
stage.addEventListener(MouseEvent.CLICK,onclick)
var txt:TextField = new TextField()

[code]....

View 1 Replies

ActionScript 3.0 :: Memory Leak - Each Time My Swf Gets Reloaded?

Mar 24, 2009

I'm experiencing a few memory leaks each time my swf gets reloaded. I have closed the netstream, removed the listeners and the container, tried UnloadAndStop(); but in the end I'm still missing someting as some Mb leak anyways...Here goes my child swf source code:

Code:
////////// UrbanRevolution :MoD
////////// Built on "Video player a la Hulu" by Chris Brimelow http://chrisbrimelow.com
////////// FS function by noponies http://www.noponies.com/dev/as3_fsresize/[code]......

View 2 Replies

ActionScript 3.0 :: Memory Leak With Large Movieclip?

May 26, 2011

I'm having what strikes me as a stupid problem, but I can't figure it out myself... it could be a subtle nuance of Flash or just some knowledge I don't have, anyway... I'm making a Flash game with a main menu and multiple levels. We didn't organize our project right (just self-taught college students doing it in our free time) so we made a level before the main menu. I ended up putting the entire level, code and all, into a MovieClip. It creates an instance of that MC when you start a level (I'm sure this was a terrible idea).
 
But it leaks when I delete the MovieClip and create a new one (i.e. quit the level to the main menu and then start it again). It originally leaked ~6MB each time you quit and started it again, but I've tightened it up to ~1MB, but I'd still like to fix that.
 
I know to Garbage Collect something you have to remove references, so I've
Blanked all arraysNulled all referencesRemove all MCs dynamically added to the stage and any associated eventsRemoved every single MovieClip from the entire stage, including ones that weren't added dynamicallyNulled practically every object and variable I've only used weak-referenced events, and I've removed all of them anyway, but it's still leaking. There's way too much code for me to post all of it, so I guess I'm just wondering if anyone has any general ideas I haven't thought of.

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved