2

Lots of times Xcode (seemingly randomly) starts to run extremely slowly- it can take around fifteen seconds to move an object in IB, or compiling after changing one line of code can still take up to ten seconds. I took a look at my Activity Monitor, and this is what I found:

Xcode - 115.4%?

My question is, is this normal?

Martijn Courteaux
  • 67,591
  • 47
  • 198
  • 287
eric.mitchell
  • 8,817
  • 12
  • 54
  • 92
  • Look here [http://stackoverflow.com/questions/6355667/xcode-4-slow-performance][1] and here [http://stackoverflow.com/questions/3929718/xcode-suddenly-very-slow][2] [1]: http://stackoverflow.com/questions/3929718/xcode-suddenly-very-slow [2]: http://stackoverflow.com/questions/3929718/xcode-suddenly-very-slow – Ilya Blokh Dec 20 '11 at 17:12

3 Answers3

2

2GB of RAM is way more than enough, even for latest versions of Xcode.

Looks like you've hit one of the bugs in Xcode compilation / indexing / syntax hilighting. c.f.: Xcode 4.3.2 and 100% CPU constantly in the idle time

Community
  • 1
  • 1
Adam
  • 32,900
  • 16
  • 126
  • 153
1

You only have 2GB's of RAM. With each update to Apple's software, they get more memory intensive. The same goes with Safari 5.1+. So to answer your question, Yes, this is normal for a machine with 2GB's of RAM running Lion as well as other memory intensive applications, Chrome being another.

As for Interface Builder, I have noticed this too. XIB's are XML files, so I believe as you move an object, Interface Builder is writing it's location on the view as it is moved, so that is a very data heavy task as well.

WrightsCS
  • 50,551
  • 22
  • 134
  • 186
  • 1
    Nice to know I'm not the only one. Should have a new MBP coming with 8 GB RAM and the new quad-core i7- that'll fix it! – eric.mitchell Dec 21 '11 at 19:52
0

XCode is usually around 20-30% CPU sitting in the background doing nothing. It's a pig that's all.

n13
  • 6,843
  • 53
  • 40