Xcode 8.2.1 Performance issue with Macbook pro - xcode

I have a MacBook pro(mid-2012)with following configuration(8GB RAM, MacOS Sierra, and 512 GB HDD). I updated my Xcode version from 8.2 to 8.2.1. After updating to that version system not responding properly (till 8.2 it works properly), I have to wait 5 or more minutes for one click. So please help me on that to fix that issue. For that performance issue,
Note: I reinstall MacOS twice but getting the same performance issue again and again when I open Xcode before that it works properly.
Steps to Reproduce:
Open Xcode with any existing project and open simulator from Xcode developer tools then you will see that system is not responding properly.
Expected Results:
If it will work till 8.2 then it will also work in Xcode 8.2.1 in MacBook pro
Following is my system configuration and activity monitor results.
CPU Usage
enter image description here
2: https://i.stack.imgur.com/0lEj3.png system configurtion
4: https://i.stack.imgur.com/WdoZW.png before xcode start
after xcode and simulator both starts cpu usage in activity monitor
CPU usage when both are running.

Check your "Activity Monitor" Mac App, monitor which tasks are taking more memory (%CPU). Try to force quit unused apps / tasks. And try again.
Finder -> Applications -> Activity Monitor

I have a macbook pro(middle-2012) in my home, and I can not use it to write the code any more, because it is too slow, I promise, if you replace a newer macbook pro, I think the issue will not comes.
In my company, I use the company's Macbook pro(2015) or Mac Mini(2014 late), with Xcode 8.2.1.
These there will not get slow, improve the configuration of your hardware.

Related

Xcode uses huge Ram memory (90gb)

Has someone noticed the same problem?
Currently installed version are macOS Catalina 10.15.1, Xcode Version 11.2 beta (11B41) .
While opening project - sometimes indexing takes to long, simulator does not launch, and all system slows down.
In activity monitor process swift appears and very fast - during couple of minutes it shows 73-90gb memory use, after which i have to restart, computer stops responding.
I am having trouble with working in Xcode, any help is much appreciated.

Xcode 9.3 - terrible performance

ENVIRONMENT
MBP (mid 2015) 16GB i7
PROBLEM
After updating Xcode to 9.3, Xcode becomes very very slow and always in high (400%) CPU usage which makes everything get stuck. Just look at those screenshots.
WHEN USING XCODE
After quitting Xcode:
Auto-complete and breakpoint just can't be used. I need to wait tens of seconds until Xcode has a response. It's not endurable.
Relaunch and reboot doesn't work. And before Xcode 9.3, these issues existed but didn't appear so often.

System Freeze after launching Apportable app

I am brand new to Apportable. I installed and am able to launch the sample Spin app on my Android device. However, after launch, my system is completely frozen and will not respond to any trackpad or keyboard touch. I hard booted and tried again with an iOS app I developed with the same results.
System:
MacBook Pro 15" Early 2011 running OSX 10.9
16GB RAM, 20 GB disk space available
Xcode 4.6
Any ideas why this is happening and what I can do to prevent it? Thanks!
Sometimes while copying the apk to the device, the USB driver gets blocked for a few seconds. If this is the same issue, then your system should return to normal pretty quickly (no more than five seconds on most machines).
If that isn't the case for you, you can try the following command:
MTP=no apportable load
If you still have the issue after that, something else is going on that I have never seen.
I had the same problem and MTP=no apportable load solved it for me.

memory instruments not working in xcode

After some upgrades to Xcode i am experiencing a strange situation:
when i start instruments to profile my apps (both on ios or mac) it works well with all the instruments (for example cpu monitor, or i/o monitors) but i cannot use the memory management ones: Allocations, Leaks, Object graph. If i start the profile window by clicking on leaks it just opens an empty "Instruments document", and if i drag them from the library panel they don't show up, but all the others do. Anybody is experiencing this behaviour? Maybe some missing library?
My Xcode version is "Version 4.2 Build 4D199" and my instruments version is "Version 4.2 (4233)"
I solved this by updating Xcode to version 4.2.1 (Build 4D502).
One thing that I noticed, since I've installed Xcode using the Mac App Store, was that the update process behaves like the install - it downloads an app called "Install Xcode" which you run to install/update. So be sure to run the installation app after first time download or update.

XCode 3.2.6 hangs up

My Xcode 3.2.6 is hanging up constantly.
While I'm coding with no apparent reason it starts consuming more and more CPU, CPU temperature rises up to 80 celsius, the fan get exhausted and I'm forced to "force-quit" it and relaunch it to be able to continue working...
It start happening this week and nobody else on my project is having the same troubles.
My OS is Snow leopard 10.6.8
Any ideas on what could be happening?
I had the same exact issue with my Xcode 3.2.6 project... Would start out using one core and if I let it sit, would use all 8 cores of my i7 MBP. Very frustrating having to restart Xcode every 5 minutes.
My issue actually was resolved when I removed an iPhone from the Organizer that was running iOS 5.0.1. Xcode was trying to get information from the iPhone, and wasn't able to, since the iOS SDK requires Xcode 4.x
I also removed all the user settings from within the project's *.xcodeproj package as well; not sure if that had additional effect. removing those without removing the iPhone had no effect, though.
Have you tried doing a "clean" on the target? Have you tried checking your disk with Disk Utility?

Resources