1. Welcome to the new MacRumors forums. See our announcement and read our FAQ

Safari Keeps Reloading Tabs

Discussion in 'Mac OS X 10.7 Lion' started by lexus, Aug 5, 2011.

  1. macrumors 68000

    lexus

    #1
    Safari 5.1 keeps reloading all my tabs at random and its quite annoying. This never used to happen before. Does anyone know what caused this and how to fix it?

    Thank you
     
  2. macrumors member

    #2
    Yes its incredibly annoying. Fix anyone?????
     
  3. macrumors 68040

    MBHockey

    #3
    I've noticed this too a few times. Really annoying and seems unnecessary.
     
  4. Zerozal, Aug 5, 2011
    Last edited: Aug 6, 2011

    macrumors 6502

    #4
    Agreed! I'm assuming this behavior is a bug and not a feature. This is extremely annoying beahvoir, and actually makes working with Safari more difficult.

    For example, I like to keep a tab open of my eBay watch list so I can refer to prices at a specific time (of opening a tab) over a day or two. Now when I come back to the Safari window and select the tab, instead of seeing the list as a quick reference as I left it, the page tries to reload, destroying the temporal nature of what the prices were at the time when I opened the tab; depending on how long it's been, it may bring up the ebay log-in window instead of just showing me the page as I last left it.

    Give Apple your feedback on this behavior here:
    http://www.apple.com/feedback/safari.html
     
  5. macrumors 68030

    #5
    I haven't had this happen to me on any of my macs....how much ram do you have? How much storage do you have left?
     
  6. MBHockey, Aug 5, 2011
    Last edited: Aug 5, 2011

    macrumors 68040

    MBHockey

    #6
    I have 4 GB of ram on a 2010 core i7 MBP with a 160 GB SSD that has 60 GB free. I do think it is intended behavior, unfortunately. This is how iOS frees up ram on iPads/iPhones/iPod touches. Why they have moved this "feature" to the desktop space is very questionable. it only happens when I have ~8 or more tabs open.
     
  7. macrumors 68030

    #7
    I haven't had this happen once and I have a Mac Pro with 10GB ram, a Mac Mini with 8GB ram and a MacBook Air with 4GB ram....not sure why this is happening to you.
     
  8. macrumors 68000

    paulsalter

    #8
    Unable to find out what exactly triggers it to do this (is the machine low on free ram when this happens?)

    But in Safari 5.1 if it thinks a tab is no longer being actively used, it removes it from RAM, this is why why you go back to it it reloads it

    as someone else mentioned above, this is how iOS does it and it has been brought to the desktop
     
  9. macrumors 6502

    #9
    Just happened to me again. Here's a shot of my Activity Monitor from right when it reloaded all the tabs. I've got a total of 12GB RAM, with 2.5GB free and another 4+GB inactive. Very frustrating.
     

    Attached Files:

  10. macrumors 68000

    lexus

    #10
    Another think I noticed is you cannot drag all images to the desktop in the new Safari.
     
  11. macrumors 68030

    #11
    I can't stand it anymore. Between this and everything else - I can't even function.

    Does this have anything to do with that saving page thing ?
     
  12. macrumors newbie

    #12
    Major issue

    I keep experiencing this issue several times each day. This started as soon as I upgraded to Lion. It can't possibly be a RAM issue, I have plenty (8GB). I, like many other users, keep multiple Safari windows open so I can view multiple sites at the same time and quickly toggle back and forth... now I find Safari is constantly reloading all pages simultaneously for no apparent reason. Even when I'm just switching focus from one Safari window to another. I also notice that the load time for some pages will randomly hang up, sometimes even causing other pages to reload. Its getting to the point where I'm going to switch to Firefox or even Chrome for my primary browser... anyone know what the cause could be?
     
  13. qap
    macrumors regular

    #13
    Same here after 5.1 update on both SL and Lion :mad:

    But is NOT "random" I found when it reload a page, this is my video of the bug-reload not wanted!

    http://www.youtube.com/watch?v=Dg4Z6aDVUOY

    this is very annoying because when you typing a message all the content..puff disappears :mad:
     
  14. macrumors 601

    UltraNEO*

    #14
    I find this all very amusing... :D
     
  15. macrumors newbie

    #15
    Even worse -- when this happens, not only does every tab get reloaded, all downloads in progress are interrupted as well.

    Extremely annoying.
     
  16. macrumors 68030

    #16
    and any music on blogs previously turned off - turn on again. I literally spent 20 minutes once trying to find the offending tab with the website to turn it off again/close it.
     
  17. macrumors newbie

    #17
    I did some digging around, and I'm pretty sure this is happening because of a new feature in Safari 5 (more specifically, it's new to Webkit2) called "multi-process windows". You can read some info about it here, but the essential point is that Safari now runs on two separate processes -- one for the user interface (the "UI process"), and one for the content (the "web process"). If any page misbehaves, it can crash the web process, but instead of causing the entire application to quit (which is what would have happened in Safari 4 and earlier), Safari now just silently restarts the web process and then reloads all the tabs you had open.

    That's great in theory, but for whatever reason, the web process seems to crash or hang quite often; I see Safari 5 suddenly reloading tabs far more frequently than outright crashes used to occur in earlier versions. The net effect is that this feature that's meant to make Safari more stable has so far caused a lot more problems than it has actually solved.

    Anyway, if you enable the Debug menu in Safari (you can do this with TinkerTool or any of several other similar apps), there's an option in that menu called "Use multi-process windows". I haven't tested it yet (I don't have time at the moment), but disabling that option might stop this "spontaneously reloading tabs" nonsense from happening. I'll look into it later and post a blog entry if I can confirm that this solves the issue (in which case I'll come back and post a link to it in this thread).
     
  18. macrumors 6502

    #18
    I agree. It's very annoying. At least several times a day (and counting) it keeps reloading. Either a page will freeze and then go back to normal after a few seconds, or every single tab will reload for bit when I'm in the middle of doing something, which makes it really annoying when I'm trying to watch Netflix. Ever since I upgraded to Lion it's been doing that. I hope that this bug is fixed in Safari 5.2, or in Lion 10.7.2
     
  19. macrumors 68030

    #19
    For some reason, when I replaced my hard drive, this activity cut way way down. I have no idea why.
     
  20. macrumors newbie

    #20
    Quick follow-up: disabling "Use Multi-process Windows" (in the Debug menu) does indeed stop the unexpected reloading of tabs. After you disable this option, close any Safari windows you have open. New windows/tabs created after that point should say "Untitled [SP]" (where SP = single process).

    You can confirm this fixes the problem by loading a couple of web pages into tabs, then selecting "Crash Web Process" from the Debug menu. This would normally trigger the reload behavior, but it will not cause any tabs in an [SP] window to reload.
     
  21. qap
    macrumors regular

    #21
    Debug menu… mhhh where is this menu? :D I see only Develop in the menubar, maybe I need Onyx/MacPilot/other to enable it or you mean the Develop menu (but I can't find "Use Multi-process Windows" inside it, so…. :D ).

    Thanks ;)
     
  22. macrumors 6502

    #22
    I ran into this issue when I was debugging a friends website.

    It turns out it had something to do with his fonts. He was converting fonts and it was making safari reload the page and any pages that were in the tabs.
    Specifically it was a select list he tried converting the font type in.
    As soon as I changed the font type to a web capable font, the problem went away.

    It's Safari, but it has something to do with the web page that you're on.

    I hope that helps.
     
  23. macrumors newbie

    #23
  24. qap
    macrumors regular

    #24
    Thanks again, but unfortunately I need 1password :( I hope for a real fix by Apple!
     
  25. macrumors 68040

    #25
    use a different browser?
     

Share This Page