Evony Memory Leak in Flash Player
Is there a work-around of any sort for the massive memory leak in the Evony flash player based game? When you play this game actively, opening dialogs, and submitting attack, the game can easily leak 250MB/hour until the browser grows in size to well over 1GB, before either crashing or becoming unacceptably slow to interact with.
This problem is well known on the Evony forums and easily verified by numerous people. Just google "Evony memory leak".
It has been repro'ed on all browsers and all platforms that have the Adobe Flash player. Is this being investigated? Does the dev team know about this problem? Is there already a thread on it here somewhere that I missed?
Thanks,
Also see:
http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=44&catid=184&threadid =1249396&enterthread=y
Flash is generating around 300 page faults per second per
flash animation
Performance
issues: page faulting
Flash is also generating around 300 page faults per second.
This can be observed by following the instructions in the link
above for displaying page faults in the system task manager.
Similar Messages
-
Problem Report: Severe memory leak in Flash Player 9.0
Summary
Flash player 9.0 is prone to a severe memory leak when
playing SWF files produced by Captivate 1 containing full-motion
recordings.
Versions affected
The problem reproduces with Flash player 9.0 (Flash9.ocx,
Version 9.0.16.0) hosted in either Internet Explorer 6.0 or Mozilla
Firefox 1.5 on a Windows XP SP2 system.
The problem does not reproduce with Flash player 8.0
(Flash8.ocx, Version 8.0.22.0) in the same environment.
Description
After a few minutes playing a SWF file produced by Captivate
1 containing a full-motion recording recorded with Captivate 1, the
host browser ends up using more than a gigabyte of memory, and the
playback of the movie slows down to a halt, together with
responsiveness of the whole system.
Impact
Our organization develops E-learning content with Captivate 1
for various customers, mostly Fortune 100 companies.
This bug severely limits our ability to deliver content to
our customers.
Steps to reproduce
1. Using Captivate 1.01.1418, create a “blank
movie” with default settings.
2. Use the “Record” button and begin recording a
full-motion movie for about 2-4 minutes. For the purposes of this
bug, it is enough to record a user typing random text in a Notepad
window resized to fit in the default 800x600 window.
3. After recording the full-motion movie, publish the
Captivate movie as a “Flash (SWF)” movie, using default
settings (making sure that the “export HTML” checkbox
is selected).
4. Open the published movie’s HTML file with a host
browser, making sure that the browser is using the Flash 9.0
player.
5. While the movie is playing, watch the memory usage of the
browser process using Windows Task Manager, and you will see that
the values of the “Mem Usage” and “VM Size”
counters keep increasing until the system becomes unusable.Also see:
http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=44&catid=184&threadid =1249396&enterthread=y
Flash is generating around 300 page faults per second per
flash animation
Performance
issues: page faulting
Flash is also generating around 300 page faults per second.
This can be observed by following the instructions in the link
above for displaying page faults in the system task manager. -
Memory leak in Flash with Win7, IE9, 64bit
I have been having an issue for quite some time on 2 different computers. Both of them are Windows 7 64bit and use IE9.
Generally I have 1 - 5 tabs open in IE at any given time. Usually one of them is a tab for Yahoo Mail. Other tabs are related to whatever I may be searching for or doing at that time, so pretty varied. Throughout the day at random times I will begin to get a grey icon for anywhere on some tabs where there is supposed to be a flash video (like the ad in the right side of the Yahoo Mail tab)... When it happens I can open Task Manager in windows and I notice that 1 or two "iexplore.exe *32" processes have memory consumed in excess of 600,000K. When I end those processes I am again able to see any flash videos that need to be viewed.
If I leave Task Manager open throughout the day I can see the memory consumption increase on various tabs until I cannot see any more flash videos or even open new tabs in IE until I end those processes. Further, the memory does not get released if I just close the tabs in IE, but I must either end the specific process or close all tabs in IE so that IE is completely unloaded.
I have since uninstalled the Flash player and the issue has gone away. I can re-install the flash player and the issue returns. Can you please help? This has been a huge annoyance and I had hoped that it would be fixed sooner or later. Unfortunately it has not been fixed and has finally prompted me to post something....First, I just wanted to follow up on this thread and let you guys know that we'll continue to look into it. I also want to clarify some player behavior, and provide tips for helping to identify a defect that we can take action on.
Whenever you refresh/reload a tab, the browser should signal to us that our process is being destroyed, at which point we would release all of our resources and shut down. SergeStone's comment above makes it sound like this might not be happening in a particular case. I'm going to build out a few tests this week to explore this in more detail, and I'll follow up with results.
Also, it's worth discussing the difference between memory consumption and memory leaks. Flash Player is designed to consume a percentage of your available memory. If you have a 32-bit machine with 2GB of RAM, we're going to consume a lot less memory than a 64-bit system with 16GB of RAM.
Not all Flash content is authored well. If the ActionScript developer is continuously loading objects into their SWF and never releasing them (a slide-show is a good simplistic example), you'll see a steady usage increase as each new object loads in. You should also see that evenutally, our automatic Garbage Collection process will kick in. Memory will peak out, and then you'll see a short CPU spike as we look at all of the available objects and cull as many unused ones as possible, consumed memory will dip down significantly (as long as we can cull stuff), and then start growing again until the next time GC kicks in. We tend to do this judiciously, as poorly-timed GC can cause games to stutter if it happens when lots of things are moving around on the display and you don't have a lot of available CPU.
If it's our bug, it should be straightforward to fix, and I can follow up to this thread with a beta build for you guys to evaluate once we have one available. In the meantime, it would be interesting to know if you're seeing the problem on our current Beta builds (which is where we would do the work).
Here's a link to the latest Beta download:
http://labs.adobe.com/downloads/flashplayer11-5.html
Also, the simplest example is the most actionable. If you can find a situation where a site in a single tab reproduces the problem, that's a quick and easy thing to deal with. If the repro case involves opening seven tabs and waiting six hours, someone needs to repeat that over and over, until they can isolate what content experiences the problem and then iterate a bunch more with a debugger attached to try and isolate the root cause. The more complicated the content, the more difficult that is.
Secondly, I wanted to offer some actionable suggestions that you could use now to work around this issue.
Try Firefox or Chrome. Both of these browsers run Flash Player as a separate process.
For those of you using Performance Monitor and other tools to measure, you can directly observe the resources used by Flash Player
For the folks concerned about Bookmarks synchronization, both Firefox and Chrome provide native bookmark syncing and import from IE mechanisms.
Xmarks is a really nice, free utility that provides cross-browser, cross-platform bookmark synchronization.
Thanks,
Jeromie Clark -
Memory Leak with Flash Game - video of incident - Fix?
My hypothesis:
There is a memory leak in Flash Player that leads to Flash crashing, predictably and repeatedly, when used.
My question:
When will this problem be fixed?
Evidence:
Observe the progression in the following single-take video of me playing my favorite Flash game, posted to Youtube. Skip to the times indicated in the "About" description for the video to observe the increase in use of physical memory, as observed in Windows Task Manager, until there isn't anything left.
http://www.youtube.com/watch?v=gNIJvTuUitU
My computer gets bogged down, the game stalls out, and Flash needs to be closed to enable my computer to function once more. It makes it impossible to play this specific game for very long, and is an insidious problem lurking in the background every time I watch a video, play a game, or use Flash Player for any purpose. My computer always slows down, with the problem worsening as time passes until I need to close everything and start again.
Details:
Flash Player Version: 11.7.700.224
Operating System: Windows Vista (32-bit)
Browser: Mozilla Firefox
(Also happens when using Google Chrome)
Conclusion:
If you need further information about my specific computer, please feel free to ask.
If this problem is specific to my computer, I would appreciate knowing this and determining a way to solve the problem. My suspicion is that the problem originates in Flash Player itself and is experienced by many people in a variety of circumstances. It is my hope that an articulate response indicating how long it will take to correct this bug in Flash Player can be provided.
Thanks in advance for your help.My hypothesis:
There is a memory leak in Flash Player that leads to Flash crashing, predictably and repeatedly, when used.
My question:
When will this problem be fixed?
Evidence:
Observe the progression in the following single-take video of me playing my favorite Flash game, posted to Youtube. Skip to the times indicated in the "About" description for the video to observe the increase in use of physical memory, as observed in Windows Task Manager, until there isn't anything left.
http://www.youtube.com/watch?v=gNIJvTuUitU
My computer gets bogged down, the game stalls out, and Flash needs to be closed to enable my computer to function once more. It makes it impossible to play this specific game for very long, and is an insidious problem lurking in the background every time I watch a video, play a game, or use Flash Player for any purpose. My computer always slows down, with the problem worsening as time passes until I need to close everything and start again.
Details:
Flash Player Version: 11.7.700.224
Operating System: Windows Vista (32-bit)
Browser: Mozilla Firefox
(Also happens when using Google Chrome)
Conclusion:
If you need further information about my specific computer, please feel free to ask.
If this problem is specific to my computer, I would appreciate knowing this and determining a way to solve the problem. My suspicion is that the problem originates in Flash Player itself and is experienced by many people in a variety of circumstances. It is my hope that an articulate response indicating how long it will take to correct this bug in Flash Player can be provided.
Thanks in advance for your help. -
FLVPlayback Memory Leak in Flash CS3
Hi There,
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.
Please let me know if there is a solution to solve the memory leak issue. I posted my codes here to know something I'm doing wrong.
Thanks in advance...
================================
onClipEvent (load)
function _fun_complete(eventObj)
this.autoRewind = "true";
var _v1 = _root.v;
var _v2 = _root.FLVlists.length;
--__v2;
if (_v1 < _v2)
++_v1;
else
_v1 = 0;
this.contentPath = _root.FLVlists[_v1].path;
var _v3 = _root.listVids[_v1].width;
var _v4 = (stage._width - _v3) / 2;
this._x = _v4;
_root.v = _v1;
this.play();
this.addEventListener("complete", _fun_complete);Helllo Friend,
Thanks for your feedback. The problem with removeEventListener is that , the player stops and not playing anymore. In my application, I nned to loop and play one FLV files after another. For example, I need to play 3 flv files, File1.flv, File2.flv, File3.flv. I load and play File1.flv first. Once complete event trigger from "addEventlisterner" , then I load File2.flv and then File3.flv and then Flie1.flv. So it needs play continuously and causing memory leak. Please let me know if there is another way of working around.
Regards -
I think I found a memory leak in Flash 10.1 involving a particular page
Go to [url]http://politicalticker.blogs.cnn.com/?fbid=o9Nb8jC6wvV[/url] and the browser keeps gobbling up memory until an eventual freeze and crash. I get this result using IE8 in conjunction with flash version 10.1.51.45.
I have experienced something similar, and went on quite an investigation over the past 3 days to work out the cause of the problem. However, it simply appears to be the new more "efficient" way the garbage collector in 10.1 works.
During execution, my app might use 400mb, then release it. In 10.0 and earlier versions, that 400mb would be reclaimed by the player pretty much straight away. However, now it seems to decide that if you have declared you want to use 400mb of RAM yourself, then it decides that for a while it will become a sort of new temporary upper limit for garbage collection. Thus, it's entirely possible to see memory use climb and climb seemingly unchecked. I guess now they are working on the idea that if you declared that much RAM can be used by your app at one point, they might as well let it fill up and keep those gc() operations to a minimum. What's if you then have 400mb of garbage that needs to be cleaned out and you suddenly decide that hey - you want to actually use 400mb yourself? Well, thankfully it seems that garbage collection runs and then your 400mb is provided.
Interestingly, system.gc() appears to not work anymore. -
Hi
We have built an Adobe AIR application, where I've defined a video player in the mxml part. Now in the actionscript I'm looping over a playlist in XML where I'm updating the source of the video player everytime the playlist starts the loop.
Now what's happening is that my AIR application is occupying more and more memory with time, and after some time when it takes up lot of memory, my app crashes. How do I flush out previously loaded video from memory, so when the next video starts previous video should be flushed out from memory, how do I do that?
Thanks in advance
Regards
PankajHi, could you provide the following information for investigation?
1. AIR version
2. OS version
2. Simplified version of your app (with source code) that can still reproduce your issue
Thanks,
Jian -
Memory leak found in flash player active-x 'CallFunction' method.
Hello,
I think I found a memory leak that results from calling the flash player active-X object's method 'CallFunction'. Each time this method is called it seems that memory is not properly freed.
I'm attaching here a simple program I've made with C# that uses the shockwave flash object to load a SWF and continuously perform calls to it using the 'CallFunction'. It also displays the process memory so you can see how it's being increased after some time running.
In the zip file, under the bin/release directory, you'll find the compiled executable and both the test SWF (CallFunctionTest.swf) and its source (AS3 file) which is just a dummy Sprite that exposes a callable method using the ExternalInterface. The SWF has been compiled using Flex compiler (Version 3.3.0 build 4852).
The leak may become more visible after some hours running. Also, it's interesting to note that even by reloading the SWF without closing the application (by stopping and restarting the stress in my test application) the memory is not freed.
As a reference, in my computer (Intel Dual core E2180 @ 2Ghz) the test application's virtual memory (VM64) increased from 192MB to 480MB in 4 hours. In Windows XP 32-bit when this value reaches 2GB the process runs out of memory and the application crashes.
Does anyone experienced the same problem?
I have Flash Player version 10,0,32,18 installed.
Thanks,
JoanHi,
I found this problem recently.
I embedded Flash in my Visual C++ project through ActiveX, and intensively call
ShockwaveFlashObjects::IShockwaveFlash::CallFunction().
It seems that every time I invoke this function, the memory usage of my program increase about 8kB, and never goes back again. I think this is caused by the internal memory leak in Flash.
Does adobe have any plan to fix this issue?
Alvin. C. Chung -
Memory Leak issue with CS4
Using CS4, we have a memory leak and I can not find the
source of the problem.
http://tiny.cc/O7D3e here is the
link to the testing site. If you take a look at your task manager
you will see it your RAM will continue to increase even after two
or three cycles. It does not stabilize.
We are using FlashEff | Flash Effects Component in order to
generate the smooth transitions. However, I have done some
debugging and even completely deleted the plug n from the file and
it still continually leaks memory. Does anyone have any possible
solutions or causes for this.One idea - there is a separate stack of memory in the flash
player where loaded classes in separate application domains exist,
and these classes are not being garbage collected....however, there
is a line in adobe's documentation here:
http://livedocs.adobe.com/flash/9.0/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Liv eDocs_Parts&file=00000327.html
under "Usage C" :
quote:
Having a new application domain also allows you to unload all
the class definitions for garbage collection, if you can ensure
that you do not continue to have references to the child SWF.
Given that, as far as I can see from this code, there is no
reference to the loaded .swf maintained....it seems to me like the
loaded data (graphical assets AND classes) should be garbage
collected - but, while you WILL see a slight drop in memory after
the removal of the SWF, the overall memory continues to increase
the more you do it. Could Adobe be mistaken? -
Memory leak when loading .swf in AS3?
Hi all,
I've got a pretty big issue here that I can't understand.
I've got a pretty simple app that just repeatedly loads and then
unloads an .swf called test.swf (this loaded .swf contains nothing
but a document class and a graphic - a circle. The document class
is blank, it just extends Sprite).
When I set this class as the document class of a blank .swf,
I trace the 'totalMemory' of the flash player, and load and unload
the (very simple) clip over and over. You'd think that with garbage
collection and all that, the memory would stay pretty
constant...but no! It increases (and continues to for as long as
I've run it!).
I'm writing an application that loads and unloads many many
.swf files, but it needs to have the smallest footprint
possible...any ideas as to why the memory is never released?One idea - there is a separate stack of memory in the flash
player where loaded classes in separate application domains exist,
and these classes are not being garbage collected....however, there
is a line in adobe's documentation here:
http://livedocs.adobe.com/flash/9.0/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Liv eDocs_Parts&file=00000327.html
under "Usage C" :
quote:
Having a new application domain also allows you to unload all
the class definitions for garbage collection, if you can ensure
that you do not continue to have references to the child SWF.
Given that, as far as I can see from this code, there is no
reference to the loaded .swf maintained....it seems to me like the
loaded data (graphical assets AND classes) should be garbage
collected - but, while you WILL see a slight drop in memory after
the removal of the SWF, the overall memory continues to increase
the more you do it. Could Adobe be mistaken? -
Increase Flash Player Video cache
When playing flash videos the video will stop and then load
more, multiple times. I want to increase the initial size of the
cache before it starts downloading so I can watch a video to
completion without it stopping. Even after the video finishes when
I move the progress bar back to an all ready played section it will
reload that section and then freeze at points and load more.
I've set my browser temp files usage size to 1gig and the
local and global storage of the flash player to 10mb and it didn't
help. I cleaned out the temp files without any help. The machine
with the problem is running xp with ie 7 and a dsl connection. Is
there a connection type detect that is reporting a speed that is
faster than it really is or is there a place I can increase the
cache size?
Oh and I did uninstall the player and install the newest
version.
-Philip HutsonHello,
I have the same problem for a very very .... long time.
Whenever I try to watch a video on youtube or google video
or sites like these, the video plays only for two seconds and then
picture freezes. On the other I always notice that the video loads
normally and completely 100%. I can even move to another part of
the video and then it just plays again for two seconds and freezes
again. I tried playing with the global and site memory setting that
flash player use to store content but I didn't manage to get over
this problem (even gave unlimited memory storage). The important
thing is that it happens on major sites that use flash technology
for video, like youtube, google video, netcafe.
I appreciate your support. -
Safari Flash Player Memory Leak?
I recently got a new macbook pro, 13" model (with the 2.2 GHz dual processor). Last night I noticed that it was running pretty slowly, something that I figured was weird considering the amount of power it has compared to my four year old desktop computer. I managed to isolate the problem: a memory leak with safari's flash player. I watch a lot of netflix and some TV episodes...and it turns out that the flash player accumulates up to 2 GB of RAM by itself. My pro has 4 GB of RAM and it never goes above 50% of that memory unless I watch videos. Only way to get around the problem is to force close the flash player application...but it's annoying to have to reload what I was watching. Any ideas on the fix for this?
Far as I know, Netflix doesn't use Flash, it uses Silverlight.
Your Flash likely got pwned.
So check here and update both
http://www.mozilla.org/en-US/plugincheck/
Then run ALL of OnyX's cleaning and maintainence aspects and reboot
http://www.titanium.free.fr/ -
I have created a AS2 script that plays 6 FLV movies one right
after the other... and never stop..
After about 10-15 minutes of looping the videos appear to
start playing choppy.
all flv movies reside on the local machine
Would this not happen if i rewrite the script in AS 3?
is there a way to refresh only the flashplayer and not the
entire IE7 page?
is there a known memory leak in using the flashplayer?It is hard to say what is causing it. Can you post the code?
My first guess is that you might be creating a new instance of a
video clip everytime one is called up. This would sort of stack
your videos into memory and never really delete from memory, the
previous video clip. So while you see only one video at a time,
Flash sees it as you are just putting one video on top of the
other. Once the RAM starts filling up...the program grinds to a
halt. -
Flash player memory usage Safari 5.1.7; OS X 10.7.4
I've heard quite a bit about the relationship between Apple and Flash but since getting my laptop I've noticed that the two aren't getting along. While browsing the web (±4 tabs, 2 with music playing on youtube) I realised that my brand spanking new MBP was freezing up on me. I checked the activity monitor and noticed that I only had 18mb of RAM free, after checking the processes I found flash player was the culprit.
It was using a whopping 900+mb of RAM which is almost a fourth of the available memory. I closed the rest of my applications and freed up another 300mb but within about 5 minutes flash player had eaten up all of that as well. I'm not sure if this is considered a memory leak but I am pretty sure that this is not normal.
Any suggestions? My friend who uses Firefox also said he was facing the same problem, so I don't know if switching browser will help.
- CamelI am having difficulty reproducing my trader desktop result using the blazeds sample application. So either I was mistaken, or perhaps I have a newer version than what I tested with originally.
I can reproduce the issue with our Flex application on the latest release of the flash player. Using chrome and 11.3.300.262 there is a noted increase in memory utilization of between 50-100MB/hour. This is a real time messaging dashboard application that constantly updates prices displayed in charts and tickers using Adobe messaging.
On 11.2.2.144 on the same installation of chrome this application reaches an initial memory utilization and then stays at or close to that memory level indefinitely - though memory usage will increase slightly as more and more data points are added to the charts displayed - nothing like 50-100MB/hour.
I would need to give your people access to our application as it's not publicly accessible. So again, please contact me - flashbug at vanderberg.fastmail.fm to arrange those details. -
Flash cause Memory leak problem under IE
I have encountered a problem when running a flash with
countdown scripts inside under IE.
The IE in memory will become bigger and bigger and IE will
finally eat up 50% of my processing time.
My script cannot be officially go online of this problem.
Similar flash by other with the same problem in IE:
http://www.zsg.com/
*** additional info: the leak will reset if the browser is
being minimized.
Can any one help?
Thanks a lot!
P.S My countdown script play no problem with Firefox 2.0.0.14
Flash player 9.124.0
IE version 7.0.5730.13
OS: Win XP with SP2
My scripts is just a simple onEnterFrame with calculation
inside until the difference between current time and target time is
<=0(target time - difference time)
Thanks a lot!Which process is not releasing memory? Which thread within that process? What do the process monitoring programs from Technet/SysInternals (see
https://technet.microsoft.com/en-us/sysinternals/bb795533.aspx ) show about the memory that is not being released?
There may be memory leaks in Coded UI but more likely the leaks are in the test cases and the way they use Coded UI. I think you need to do some more investigation and show its results before getting much more than just general advice here.
Regards
Adrian
Maybe you are looking for
-
How To Preserve Spaces in Oracle Soa
Good afternoon ! I have a problem , I'm trying to do an UPDATE on a column in a particular table from my database . However , this column is of type CHAR ( 13 ) , and as I try to perform the UPDATE , it returns me an error stating that the Primary Ke
-
Tecra R10 - How to remove the HDD?
Is there a description available hoe to remove a harddisk in a Tecra R10 and plugin a new harddisc?
-
Hi, Iam asking for posting keys (40 and 50). How are there posting keys determined for GL account determined from VKOA. 1 )I need to know if the system determines GL account xyz. how the system knows that xyz nneds to be debited through posting key 4
-
I have a procedure that builds an Excel Spreadsheet from a parameter form, depending on the user's selected criteria. To make it easier for testing I am just selecting a range of 3 leases from this form. Each lease may have several entries according
-
Flash player 11.8 not working.
Is anyone else getting this? I've downloaded the most recent update from the adobe site, but youtube and iplayer won't work. I'm using Safari and my operating system is 10.6.8. I've tried uninstalling and reinstalling, but that isn't working. Cheers