I installed xcode 9 today and opened a swift 3 project. Xcode just goes in to infinite indexing and makes my system run out of memory. I renamed my Library/Developer folder to Dev0 and started xcode 9 and opened same project again. Memory usage continues to climb with a bunch of swift process in activity monitor. I closed xcode before my system ran out of memory. Anyone else seeing this? Have latest 15" macbook pro with touchbar with 16gig of ram.
xcode 9 released today makes system run out of memory
Same problem here, xcode 9 reacts the same way like xcode 8 first release did.
My temporary fix is to get 8.3.3 from apple dev downloads and use that until 9 works better.
That seems to be a safe way for your production or development system.
Unless you have a second machine on which you can take the risk.
Just repartitioned 2.8 ghz macbook pro and put mac os high sierra on it, installed xcode 9, opened my project and the indexing went on its way and hosed the system again - i.e., ran out of memory.
I now just put 8.3.3 on mac os high sierra and opened my project. It said indexing for a few sections but loaded and I just ran in iphone 7 plus simulator. Go figure 😟
I'm going back to 8.3.3 too until they fix it . If you want to run your app to your ios 11 device with xcode 8 follow this tutorial : https://medium.com/swiftist/how-to-use-ios-11-beta-installed-device-with-xcode-8-c255b916aca5
how can we download Xcode 8 until then?
If you have xcode 9, rename it in Applications, then go to developer.apple.com and login then go to downloads, then click on See more downloads at the bottom, in the search box put in 8.3.3 and click on the item that shows up on the right and click on the xip file link, download and double-click it to extract the xcode.app and drag to Applications and open - you will have 8.3.3 of xcode. If it gets updated, rename or delete and extract from xip again....
That is good to know. I was just trying to run on iPhone, but it wouldn't work with iOS 11 so I brought out an iPad with 10.x to work with. Thanks for the tip!
Thanks for the link. xcode 8 is working on iPhone with iOS 11 now!
When you see Xcode's memory usage growing unexpectedly, can you please capture a memory graph of Xcode and attach it to a bug report? In Terminal.app:
$ leaks -outputGraph /tmp/Xcode.memgraph Xcode
Thanks.
I'm having the same issue with Xcode 9.2. Any updates on this?