Frequent spins and memory growth beneath -[SharedFeedAddLinksController reloadData] when opening a new tab
| Originator: | adam.roben | ||
| Number: | rdar://21258777 | Date Originated: | 2015/06/05 |
| Status: | Duplicate of 19318894 | Resolved: | |
| Product: | Safari | Product Version: | 8.0.6 |
| Classification: | Performance | Reproducible: | Sometimes |
Summary: Often when I open a new tab, soon after the page loads Safari will spin for many minutes. During this time CPU usage is 100% and memory grows and grows. Steps to Reproduce: 1. Browse normally as you would throughout the day, periodically opening new tabs. (I typically keep about 5 tabs open persistently, and open more as needed.) Expected Results: Opening a new tab should not cause a multi-minute spin and consume 10s of gigabytes of memory. Actual Results: The spin that was ongoing when I started filing this eventually consumed over 58GB of memory, prompting the system "Out of memory" dialog to appear (which I had never seen before!). The spin lasted more than 5 minutes before the dialog appeared. Memory usage was climbing at about 100MB/sec. Sometimes the spin will recover before reaching this point, but usually I lose patience and force quit Safari. Version: OS X 10.10.3 Safari 8.0.6 Notes: I've attached an Instruments trace of Safari while the spin was occurring. It shows near-constant allocations of NSSet and CFURL objects. Configuration: Attachments: 'Safari SharedLinksAddFeedController spin.trace.zip' and 'Screen Shot 2015-06-05 at 9.32.08 AM.png' were successfully uploaded.
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!