News for hackers. Stuff that matters.
Re:WebDriver Support in Safari 10 by overcast on Friday August 26, 2016 @03:48PM (#12368835)
Now if we can only get tabs to suspend themselves to free up RAM. Safari is awesome to work with, for the first hour.
Re:WebDriver Support in Safari 10 by jacobolus on Friday August 26, 2016 @04:50PM (#12369203)
For me, Safari runs for weeks at a time with several hundred tabs open.

Indeed, Safari is the only browser that doesn’t render my machine unusable under such use. (Both Chrome and Firefox seem to consume dramatically more CPU and memory for the same load.)

What kind of situation are you running into where it stops working after an hour?

How much memory do you have on your machine?

Re:WebDriver Support in Safari 10 by overcast on Friday August 26, 2016 @04:56PM (#12369244)
2008 MacPro 2 x 2.8Ghz Quad-Core Xeon , 28GB RAM, drives are SSD.

Just keep tabs open, they eventually start chewing up hundreds and hundreds of MB of ram each, and slowly grinds itself into the ground. Relaunch, it's snappy again.

Re:WebDriver Support in Safari 10 by MBCook on Friday August 26, 2016 @06:48PM (#12369837)
I wonder if it's something those sites are doing in JavaScript, because I have the same experience as the other poster. I keep tabs in Safari open for weeks at a time without any issue or noticeable memory increase.

However, I do know there are a handful of web app type things (Google calendar and possibly Gmail are coming to my mind) that seem to leak memory and cause issues if left open.

Edit: eridius mentioned Google Docs. I'm pretty sure that's what I was thinking of.

Re:WebDriver Support in Safari 10 by eridius on Friday August 26, 2016 @04:56PM (#12369243)
Are you by any chance leaving Google Docs pages open for a long time? Safari runs great on my machine, with windows and tabs open for weeks at a time, and the only problem I ever have is with Google Docs, because Google Docs is a gigantic memory hog. If I leave a Google Docs page open for a day, it usually ends up consuming several gigabytes of memory all on its own. For a company whose focus is the web, I don't know why Google can't get their memory usage under control.

(Caveat: I haven't actually tried leaving a Docs page open for a day in a while. I stopped doing that when I discovered how badly it behaved. It's possible Google's fixed it, though I doubt it)

Re:WebDriver Support in Safari 10 by avdempsey on Friday August 26, 2016 @07:30PM (#12370044)
I have the same Google Docs issue; it can bring my machine to its knees. I open anything Google in Chrome, and the rest of the web in Safari. Without Docs, Safari is as solid as a rock. Google Docs seems to run fine in Chrome.
Re:WebDriver Support in Safari 10 by overcast on Friday August 26, 2016 @04:57PM (#12369248)
Negative on Google Docs.
Re:WebDriver Support in Safari 10 by cknoxrun on Friday August 26, 2016 @06:01PM (#12369613)
I don't see this either, but I don't have Flash installed. Could that be the culprit?
Re:WebDriver Support in Safari 10 by overcast on Friday August 26, 2016 @07:21PM (#12370005)
I haven't had flash installed for a couple years.
Re:WebDriver Support in Safari 10 by Maskawanian on Friday August 26, 2016 @04:55PM (#12369237)
Virtual memory should be handled by the operating system not re-implemented by each application.