Copy link to clipboard
Copied
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....
Copy link to clipboard
Copied
For me the number of tabs does not make a difference. Using IE9 & Yahoo mail is the common theme. I will check if flash makes a difference but I went back to IE8 and did not have a problem.
I get a memory leak with yahoo (so maybe with flash) on all the browsersthat I use (IE, Firefox, Chrome) but the main difference is that in IE9 the performance is too slow when editing emails. IE8 does not have the performance problem though memory does leak a bit. I am running Win7 latest services packs.
For me it does not take very long for the memory to jump to 600+ I kill IE9 several times a day.
I have recently installed ie9 again after removing it in september of last year / the only slight improvement with the problem is now I can kill a separate instance of explorer for when yahoo opens it seems to have its own instance - where before all tabs were affected.
Copy link to clipboard
Copied
Did a cold boot to ensure RAM was clear.
I turned flash off and the only difference was the ram did not climb as fast. Still a problem though. For me the issue seems to be a problem with IE9 in general - problems increase with yahoo.
I applied additional MS updates today so I can not report which fix is making the difference.
Another cold boot
So .. running IE64 - with no yahoo mail and flash turned off - seems to stabalize after growing very slowly.
Turned Shockwave back on .....seemed to be fine.
Ran site with video - big jump in ram but that was to be expected.
Killed video and ram cam back to previous amounts used.
Launched Yahoo - big jump in RAM use but probably due to all the ad's
- with new patches the RAM seems stable - now adding more tabs to see the affect besides an increase in RAM
- 5 tabs open - stable for first 5 min at least.
- opened additional emails. still stable
**** will continue to monitor but the constant gradual growth seems to be gone .... or I have not used the right combination of features that triggers the memory leak.
Copy link to clipboard
Copied
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.
Thanks,
Jeromie Clark
Copy link to clipboard
Copied
Thanks for the update Jeromie - it is very frustrating going through this guessing process - I long for the old days where we could turn on a trace log that profiled the memory hogs and program locations. - it would be nice if something could be adapted for the browsers with out having to load IDE's and perfmon is basically useless when it comes to end user debugging for it is like working with a bunch of black boxes that are usually not the culprits anyways.
I can try to run the different cases you suggest but it would be nice to know a bit more about isolating your application first. Just so I am comparing fairly.
For example - How do I ensure that I have unloaded all of your app without uninstalling and rebooting?
Is there a way to turn on some level of logging? Maybe with the beta version?
My biggest problem seems to be Yahoo Mail - do you have any feedback on this.
What is different with IE8 and 9? I mean 9 become unusable and even with a clean boot there are features in yahoo that do not work in 9 versus using firefox or chrome.
Also - I just loaded some updates and the memory seems to clean up right away unlike before where there was a drop followed growth when I unloaded pages.
Is there a switch that forces garbage collection?
Is there a way to map the memory in such a way as to see what is taken up but not used - sort of like the old days when we would use overlays. - crude I know but I used to run full accounting systems in 28k of RAM. Now I can't load my logo with that much
All the best and thanks for XMarks - you just saved me some work syncing the 3 browsers I am running.
Copy link to clipboard
Copied
As an end-user, you can't do anything about when GC happens. As a developer, you can do things to request GC at optimal times during your application's execution, but older content doesn't have that capability, and skill levels and priorities vary between developers.
The reason I'm suggesting Firefox or Chrome for differentiating the behavior is that there is no guessing. With IE, Flash is running in the iexplore.exe process (there's one process for the host browser, and then one for each child tab). There's no way to know whether it's Flash or the Browser eating all that memory (and it's mostly likely some interaction problem between the two).
In Firefox, Flash is running in it's own process (FlashPlayerPlugin_11_x_x_xxx.exe -- there's actually two, one is a broker and one is the child process that does the heavy lifting). You can watch the process directly.
With Chrome, the task monitor proposition is trickier, because all processes are named Chrome.exe, but some of them are the Flash Player plug-in. Fortunately, there's a task manager built into the browser that shows you what plug-ins are running and what resources they're consuming. Just click on the right-most icon (it's a wrench or a menu icon, depending on version) and choose Task Manager. You'll see Plug-in: Shockwave Flash with the amount of memory being consumed.
If you want gory details on the differences between IE8 and IE9, the IE Team has a blog: http://blogs.msdn.com/b/ie/. You'll have to go look around in the archives, though. In general, the rate of change in the browser space has accelerated significantly in the last couple years. Chrome and Mozilla ship feature-bearing releases on 6-week schedules. IE has also made significant improvements to their browsers during that time. Many of these releases make changes to how we interact with those browsers, and we communicate closely with all of the major browser vendors to try and stay ahead of those changes and keep everything working well.
There are some automated tools you can run in the background, like Microsoft's DebugDiag (http://www.microsoft.com/en-us/download/details.aspx?id=26798) -- which can be configured to monitor process and catch memory leaks, but I don't think it's going to catch anything in this instance. If you get the memory back after fully exiting the browser, then it's not really leaking by the strict definition of the term.
If you're not seeing the issue with the latest IE9 and the current Flash Player, I don't want you to spend a bunch of time doing that, and it may have other stability side-effects anyway. If you're really interested, I can write up some directions on how to configure it for IE9, but I don't think it's going to be fruitful in this instance.
Copy link to clipboard
Copied
Thanks Jeromie, I will continue to try because the leak just came back again. Don't know why but the RAM just started climbing again - seems to hit a level that afterwhich can't be stopped. I was not doing anything special exept that i also opened a PDF from yahoo mail.