SourceKitService appears to have a memory leak
| Originator: | SaagarJha28 | ||
| Number: | rdar://27518610 | Date Originated: | 24-Jul-2016 09:10 PM |
| Status: | Duplicate/27358273 | Resolved: | 04-Nov-2016 00:17 AM |
| Product: | Developer Tools | Product Version: | Xcode Version 8.0 beta 3 (8S174q)/macOS Sierra 10.12 Beta (16A254g) |
| Classification: | UI/Usability | Reproducible: |
Summary: SourceKitService regularly hogs all the memory on my machine, slowing it to a crawl. See the attached screenshot; SourceKitService is using about 3.6 GB of real memory (and 11.62 GB virtual), which is quite impressive given my computer only has 4 GB total. Steps to Reproduce: 1. Open Xcode 2. Open a Swift project 3. Do some work Expected Results: SourceKitService doesn't hog the RAM Actual Results: SourceKitServices uses all the RAM if not periodically killed, often causing my machine to become unresponsive and requiring a force restart. Version: Xcode Version 8.0 beta 3 (8S174q)/macOS Sierra 10.12 Beta (16A254g) Notes: Workaround: Force quit SourceKitService every once in a while Configuration: Late 2011 MacBook Pro running macOS Sierra 10.12 Beta (16A254g)
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!