Safari 3 / Flash memory leak

I recently upgraded to Safari 3.0.4 and am noticing a huge memory leak problem if I leave a Flash-enabled page open for any length of time. I monitor the Virtual Memory usage of Safari using Activity Monitor. Usage goes from around 280MB to as high as 2.65GB before I have to shut down Safari for my 1GB machine to be usable.
See additional discussion here:
http://forums.macrumors.com/showthread.php?p=4610322
Does anyone know if this is a webkit issue, Apple/Safari issue, or a Flash issue?

Hi
Welcome to Apple Discussions
On my machines, Safari has had challenges with World Leaks since the beginning (right now it is using 750 mb of RAM with 38 tabs open on one window). A bit excessive, however, it's not a red flag given the amount of RAM and processor speed of the iMac. Nonetheless, it ought to be a lot more efficient with RAM usage. I would use the latest WebKit build, however, some of my Safari add-ons would be incompatible.
BTW, I too see jumps in usage, especially when accessing Flash content. The "only" way out is to quit/restart. Important to send feedback to Apple via the Safari Menu>Report Bugs to Apple.

Similar Messages

  • There seems to be serious flash memory leak in ie7

    Hi.. I have run into a serious memory leak issue with flash on
    internet explorer 7.0.5730.13 (everything works with firefox). It can be
    seen clearly browsing open flash charts site. Here are steps to
    reproduce:
    1) go to
    http://www.websector.de/blog/2007/10/01 ... wsmonitor/
    2) click start on WSMonitor
    3) File->New Window paste following address in address bar and click
    enter: http://teethgrinder.co.uk/open-flash-ch ... hollow.php
    4) click from chart to chart and see each time how memory increases...
    This does not happen with firefox.
    Independently to trouble shoot it wasn't any code I confirmed by making an swf file with actionscript with simply following:
    package  {
    import flash.display.Sprite;
         public class main extends Sprite {
              public function main() {
                   trace("starting3");

    hello, can you try to replicate this behaviour when you launch firefox in safe mode once? if not, maybe an addon is interfering here...
    [[Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]]

  • Safari 4 memory leak?

    With Safari 4 open for only 12 hours, it's VSize has already grown to over 35GB while it's RSize stays around a couple hundred MB. Any other users experiencing this?

    Thanks -M@ for the post.
    I've been waiting for Chrome to come out of beta.
    When I first checked the VSize of Safari 4 on Dec 31 after it was open for about a week, it was close to 100GB! Before Safari 4's release, I could play any of my 1000 Logic Express 8 files without stopping because of insufficient system RAM, although it was close to the limit my 2GB provided. Logic Express 8's built-in CPU monitor would show one core peaking when the first notes were played but the music continued on to finish as both cores would then fairly equally share the processing load. After Safari 4's release and with the browser open for any appreciable length of time, I couldn't get past the first note on any of them the first time I tried to play them. They would play the second time I tried. System resource allocation was slow because of Safari 4?
    Also post-Safari 4: Every other day, I was losing 100-300MBs of hard drive space after waking up my Mac. A shut down would restore the space back. Something to do with routine maintenance tasks and Console logs? As long as I close Safari before sleeping my Mac, this has not happened.
    By the looks of other related topics in Safari for Mac discussions and the response here by Barry on Jan 1, there appears to be no performance issues related to any memory leaks in Safari 4, which makes me think my VSize problem is a Core Duo and/or Tiger specific one.

  • Safari - RAM Memory Leak?

    I have a Macbook Pro Retina with 16GB of RAM.
    When I browse the web in Safari and have around 6 tabs open, I see my RAM memory meter going down (I'm using this app called memory clean).
    After a while everything goes extremely slow.
    What can I do about this?
    Thank you for your time and your help!

    I would first try un-installing the third party app.
    OSX 10.9 is doing a good job of managing memory, best results are to not try and micromanage memory usage.
    You can use the activity monitor for a overview.

  • Flash memory leak

    Hi Everyone,
    Simple logic but every time increase the memory.
    Any one help me out from this.
    var container:MovieClip = new MovieClip()
    addChild(container);
    var mc:circleMc;
    //Loop
    function loop(e:MouseEvent):void
    container = new MovieClip();
    addChild(container);
    for (var i=1; i<=1000; i++)
      mc = new circleMc();
      mc.name = "mc"+i;
      container.addChild(mc)
    //clearLoop
    function clearloop(e:MouseEvent):void
    var temp;
    for (var i=1; i<=1000; i++)
      temp = MovieClip(container.getChildByName("mc"+i))
      temp.id = null;
      container.removeChild(temp);
      //trace("before:"+temp)
      temp = null;
      //trace(temp)
    trace("container:"+MovieClip(container.getChildByName("mc"+1)))
    //removeChild(container);
    run.addEventListener(MouseEvent.CLICK,loop)
    remove.addEventListener(MouseEvent.CLICK,clearloop)

    you're not using the code i suggested.
    remove all your code.
    use:
    var container:MovieClip;
    var mc:circleMc;
    //Loop
    function loop(e:MouseEvent):void {
        if(!container){
        container = new MovieClip();
        addChild(container);
        for (var i:int=1; i<=1000; i++) {
            mc = new circleMc();
            mc.name="mc"+i;
            container.addChild(mc);
    //clearLoop;
    function clearloop(e:MouseEvent):void {
        var temp:MovieClip;
        for (var i:int=1; i<=1000; i++) {
            temp = MovieClip(container.getChildByName("mc"+i));
            temp.id=null;
            container.removeChild(temp);
            //trace("before:"+temp);
            temp=null;
            //trace(temp)
        trace(Math.round(System.totalMemory/1024));
    removeChild(container);
    container=null;
    run.addEventListener(MouseEvent.CLICK,loop);
    remove.addEventListener(MouseEvent.CLICK,clearloop);
    p.s. please mark helpful/correct responses

  • Safari Extensions Memory Leak

    I've been testing close to 20 extensions some that have been around for ages and some new ones. I've found that everyone of them eventually eats up a ton of RAM under the activity Safari Web Content. Having contanted developers, they all blame Apple and say this is a flaw in Safari. It seems to render the feature useless. Anyone else experiencing this?

    Until enough people complain, Apple will do nothing. This doesn't happen to this extent in Chrome or Firfox and there is a mechanism to properly toss extensions that are not up to date for a new build of the browser. Get others to write in here and to Apple directly and maybe  they will put resources into fixing it. Shame that they invested in the technology to only allow it to become a sinkhole.

  • Flash is killing Safari, which is leaking memory ...

    I just saw in Activity Monitor that the Flash plugin is using 147% of the CPU, with one Flash movie playing in one of 12 open Tabs
    And Safari seems to leak memory as well, after a day or two it easily can use up to 3GB(!) of RAM.
    I am now quitting Safari routinely every 2 to 3 hours to get the CPU usage down and free RAM for other stuff, but I don't think this method makes for a great user experience.

    Hi,
    Use ClickToFlash... that way you have control of Flash content.
    http://clicktoflash.com/
    Carolyn

  • 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/

  • Memory leak issues persist in Safari 6.0.5 (it's about time that Apple actually fixed this)

    Safari has been notorious for its memory leaks for years, as I'm sure many of you know. I stopped using Safari as my main browser in 2010 or so, and I instead began to use Chrome. However, I recently had to use Safari to access some webpages, and I neglected to quit out of it. A few hours later, my computer slowed to a complete crawl. I was confused, because my computer never slows down to such a crawl, so I went into Activity Monitor to find the 'Safari Web Content' process using all of my available RAM, which was nearly 6 GB. Needless to say, Safari was force quit after that. I've heard that some plugins will cause this, but Flash was my only active plugin. Flash is, indeed, a heaping pile of crap that will readily eat resources as it sees fit- but this never happens to me in Chrome, and I use Flash all of the time n Chrome. This was after it had been sitting idle for quite some time, and I imagine that it would have used more RAM if it could.

    Using 6.0.5 here without any of those issues ...
    Regardless of whether Flash is being used, from your Safari menu bar click Help > Installed Plug-ins.
    Try troubleshooting extensions and third party plug-ins.
    From your Safari menu bar click Safari > Preferences then select the Extensions tab. Turn that off if there are any installed. Quit and relaunch Safari to test. If that helped, turn extensions back on then uninstall one a time to test.
    If it's not an extensions issue, try troubleshooting third party plug-ins.
    Back to Safari > Preferences. This time select the Security tab. Deselect:  Allow all other plug-ins. Quit and relaunch Safari to test.
    If that made a difference, instructions for troubleshooting plugins here.
    my computer slowed to a complete crawl.
    Checked to see exactly how much space is available ??
    Click your Apple menu icon top left in your screen. From the drop down menu click About This Mac > More Info > Storage
    Make sure there's at least 15% free disk space.
    Checked the startup disk lately?
    Launch Disk Utility located in HD > Applications > Utilities
    Select the startup disk on the left then select the First Aid tab.
    Click:  Verify Disk  (not Verify Disk Permissions)
    If the disk needs repairing, restart your Mac while holding down the Command + R keys. From there you can access the built in utilities in OS X Recovery to repair the startup disk.
    message edited by:  cs

  • Memory leak in Safari 4 & 5

    In 10.5 and 10.6, Safari has what I think is called a memory leak. It ties up memory that it is not actually using, so that its use balloons. I can quit and re-open all the same windows and gain half a gig of memory back.
    Anybody know a way to stop this?

    There is an on-going thread from Aug 2009 about "Snow Leopard" and "Memory Leak" or similarly "Memory Hog" etc and not releasing memory as well as how Safari is one of the worst offenders for many others.
    Some have 4GB RAM and no trouble, some with same amount but do.
    And of course clearing Previews, History, Cache, even the Bookmarks cache.
    ~/Library/Caches/
    Flash and other plug-ins, (flash has its own cache) and using something to only load Flash if desired.
    But most found 10.5 and Safari 4 "better behaved" and not the issue 5.0 and 10.6 are.

  • Safari memory leak

    does anyone have any idea if this will EVER be resolved. If I leave my safari open it gradually eats up all my ram!
    Its been happening for tooooo long.
    I expect more from Apple.

    Hi Laura
    Yes, the memory leak is a definite problem that people in the open-source community along with Apple are attempting to resolve. To some extent, the same problem occurs with Firefox. Best remedy at the moment is to "quit Safari", then restart, which resets the memory requirement to a more manageable level.
    I have noticed certain web sites tick up the memory usage, called "World Leaks". Some of these are Java driven sites, others Flash driven. Even some of Apple's web site pages seem to contribute. The web is evolving rapidly. It's quite a can of worms to contain, monitor and coordinate.
    Hope that helps clarify this issue.

  • Safari 5 still leaking memory

    I was hoping against hope that Safari 5.01 would address the memory leak that seems to have come back with version 5.0. If I leave Safari running and some of the pages have Flash webparts, Safari ***** up memory and in no time close to 2 GB or more get consumed. Maybe it's Adobe playing a joke on Apple because of Jobs hostility to Flash, but it's getting annoying having to constantly quit Safari, relaunch it, and then have it restore the last set of accessed pages. The issue seemed to have been resolved in the later versions of 4.x (or at least it seemed so to me).
    Anyone else experiencing a similar problem? Any resolution(s)?

    I have had this same problem for a number of months, maybe more than a year, and I agree that Safari Stand is at least one major culprit. I just disabled Stand and when I launch Safari and then close all the windows, I no longer get the "World Leaks" message that I had been getting. (This error message is enabled in the Debug menu for those who have added that menu.)
    I also ran some tests. I opened about 15 tabs and Safai memory only grew to about 300 MB. When I close Safari, independent of how many tabs are open, I appear to lose about 15 MB of free memory each time so there seems to still be a memory leak, but now it is very small. I will keep watching for a few days because typically I have had to reboot every couple of days or so when my invisible swap files grew above 1 or 2 GB and the beach ball was ever so pervasive.
    For those who switched to 64 bits and back to 32, the problem may have been some other add-on because Safari Stand supports both 32 and 64 and shouldn't have been affected.
    Message was edited by: budsimrin

  • 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 in communication of Acrobat-Flash and JS

    Hi
    The situation is as follows:
    I have a Flash-SWF (in which I have programmed a GUI)
    I have a 3D-Annotation containing an annotation-script with some functions that can be called from the GUI.
    So far so good.
    The SWF is added as overlay to a 3D-Annotation. The SWF contains some AS3-Functions, among them an enterframe-event, that keeps repeating an external-interface call to a function in the 3D Annotation-script. It works so far.
    When I tested for performance however I noticed that there is a memory-leak under these conditions. I tested my setup, and noticed the memory-useage increase by about 1 MB every 3 seconds. To further test this I stripped about everything from both the swfs Actionscript  and the annotation-JavaScript. Still the memory-useage of process "acrobat.exe*32" gradually climbs by 7-10 MB per minute. The memory-useage of "A3DUtility.exe" remains constant. Deactivating the annotation will decrease the memory-useage by a certain amount (though not to the initial value upon opening the file and starting the annotation) , but upon re-activating it immediately jumps back to the value assumed last before deactivating it. From that last value the increase starts again as well. I could observe this behaviour both in Acrobat 9 Pro Extended, Acrobat X and ReaderX.
    It seems something is wrong with the ExternalInterface-Object.

    OK, I'll do that.
    By the way, imho it's not that minor. ~1mb in two seconds sums up to ~30mb/minute, i.e. 2gb/hour. So if you leave your PDF open for some 15 minutes that's 500mb ram down the drain. Considering the file started at merely 30mb that's quite massive.

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

Maybe you are looking for

  • How to connect my Equium A100 to the TV?

    HELP..... I am not very good with all this tech stuff.............my age I think!!...........I am trying to connect my Panasonic TV to my PC with a VGA cable but get a 'No Signal' message on my TV..........I have been told to try a 'S' video cable bu

  • Windows 2012 Nodes - Slow CSV Performance - Need help to resolve my iSCSI issue configuration

    I spent weeks going over the forums and the net for any publications and advice on how to optimize iSCSI connections and i'm about to give up.  I really need some help in determining if its something i'm not configuring right or maybe its an equipmen

  • Removing albums from iPhone but not iTunes

    I have the 16gb iPhone and would need to free up space on the device. I need to delete albums from the iPhone but not the iTunes library. Any suggestions?

  • GetColumns gets incorrect number datatype

    Hi Everyone, I am having problem of using getColumns method with Oracle JDBC driver. Here is the detail of the problem: Configuration: Oracle Database version 8.1.5 (locates at a Linux box), Oracle thin JDBC driver version 8.1.6, java JDK 1.3.1_02-b0

  • Inserting Logo in Web Application Designer

    Hello all, I want to  add an logo into a web application by referring to a picture pool in a public network folder. So far the frame for the graphic is available but not the picture itself, just the red cross. Also when I select a picure from MIME re