{"id":380,"date":"2009-05-14T01:29:27","date_gmt":"2009-05-14T05:29:27","guid":{"rendered":"http:\/\/clay.blogdns.net\/?p=380"},"modified":"2009-05-14T01:42:06","modified_gmt":"2009-05-14T05:42:06","slug":"memory-leak-in-safari-32x","status":"publish","type":"post","link":"https:\/\/claymccauley.info\/index.php\/2009\/05\/14\/memory-leak-in-safari-32x\/","title":{"rendered":"Memory leak in Safari 3.2.x?"},"content":{"rendered":"<p>I recently wrote about <a href=\"http:\/\/www.cs.cofc.edu\/~sysadmin\/2009\/05\/13\/safari-performance-problems\/trackback\/\">an issue with the &#8220;Fraudulent Sites&#8221; feature in Safari 3.2<\/a> that causes excessive CPU utilization.\u00a0 I didn&#8217;t bother to speculate about the cause in that article.\u00a0 However, as I was thinking about the issue it occured to me that this was probably a memory leak introduced in <span style=\"text-decoration: line-through;\">the Safari 3.2.2 release.\u00a0 (the timeframe seems to fit the release schedule)<\/span> one of the last few releases.\u00a0 I honestly don&#8217;t use Safari that much, certainly not for casual browsing, so I can&#8217;t say for sure.\u00a0 (I just don&#8217;t trust anything outside of the Firefox\/NoScript combo for that.)\u00a0 However, the bug is definitely there in 3.2.2 and 3.2.3.\u00a0 (I just confirmed the bug is present in Safari 3.2.1 on Tiger as well)\u00a0 If you&#8217;ve got a copy of Safari 3.2.0, I&#8217;d be interested to see if the bug is there as well.\u00a0 It&#8217;s simple to reproduce:<\/p>\n<ol>\n<li>open Safari, go to the preferences menu, click the security tab and check the box next to &#8220;Fraudulent Sites&#8221;<\/li>\n<li>Visit any website and wait.<\/li>\n<\/ol>\n<p>After a minute or two, your CPU utilization should jump to around 100%.\u00a0 At this point Safari should still be usable, but will no longer respond to the quit command requiring a force-quit.\u00a0 Don&#8217;t let it run too long in this state as Safari will eventually consume enough resources to lock the system down entirely.<\/p>\n<p>I had stopped using Safari entirely due to this issue, but knowing there&#8217;s a workaround is good.\u00a0 I typically used Safari for remote management of devices where its speed and small memory footprint could be an advantage.\u00a0 Now that Apple is beta testing Safari 4, I don&#8217;t see this issue getting much attention.\u00a0 If you&#8217;re affected by it, just turn off the Fraudulent Sites security feature.\u00a0 However, I wouldn&#8217;t recommend using it as your primary browser in that configuration.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I recently wrote about an issue with the &#8220;Fraudulent Sites&#8221; feature in Safari 3.2 that causes excessive CPU utilization.\u00a0 I didn&#8217;t bother to speculate about the cause in that article.\u00a0 However, as I was thinking about the issue it occured &hellip; <a href=\"https:\/\/claymccauley.info\/index.php\/2009\/05\/14\/memory-leak-in-safari-32x\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[129,128],"class_list":["post-380","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-bug","tag-safari"],"_links":{"self":[{"href":"https:\/\/claymccauley.info\/index.php\/wp-json\/wp\/v2\/posts\/380","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/claymccauley.info\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/claymccauley.info\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/claymccauley.info\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/claymccauley.info\/index.php\/wp-json\/wp\/v2\/comments?post=380"}],"version-history":[{"count":4,"href":"https:\/\/claymccauley.info\/index.php\/wp-json\/wp\/v2\/posts\/380\/revisions"}],"predecessor-version":[{"id":383,"href":"https:\/\/claymccauley.info\/index.php\/wp-json\/wp\/v2\/posts\/380\/revisions\/383"}],"wp:attachment":[{"href":"https:\/\/claymccauley.info\/index.php\/wp-json\/wp\/v2\/media?parent=380"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/claymccauley.info\/index.php\/wp-json\/wp\/v2\/categories?post=380"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/claymccauley.info\/index.php\/wp-json\/wp\/v2\/tags?post=380"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}