Xcode 5.1 SLOW performance

Discussion in 'Mac Programming' started by Intelligent, Apr 7, 2014.

  1. Intelligent macrumors 6502a

    Intelligent

    Joined:
    Aug 7, 2013
    #1
    Hey guys I'm programming a lot in xcode and when moving around images/buttons/text/windows what ever in main menu.xib/nib it just lags ALOT i can't do anything and it takes several seconds and its using up to 100cpu
    Also note its not a big project at all, the same thing with new ones.

    I have tried the following

    Deleting all xcode.plist - Didn't make a difference at all
    Reinstalling the whole thing - Didn't make a difference at all
    Deleting workspace inside of the project - Didn't make a difference at all

    I really need to use Xcode, its very important.
     
  2. chown33 macrumors 604

    Joined:
    Aug 9, 2009
    #2
    Create a new user account.
    Run Xcode from that account.
    Does it exhibit the same problem or not?
     
  3. Intelligent thread starter macrumors 6502a

    Intelligent

    Joined:
    Aug 7, 2013
    #3
    Actually it did not.
     
  4. xStep macrumors 68000

    Joined:
    Jan 28, 2003
    Location:
    Less lost in L.A.
    #4
    Start up Activity Monitor and see how much free RAM you have.
     
  5. Intelligent thread starter macrumors 6502a

    Intelligent

    Joined:
    Aug 7, 2013
    #5
    This has been around for a month, so i don't really think thats the problem, currently 10GB free.
     
  6. hokan macrumors member

    Joined:
    Mar 18, 2014
    Location:
    Sweden
    #6
    From your test and comments it appears that the issue is related to your user account rather than the Xcode install or the project - so it seams likely that some project or Xcode related file in ~/Library (the users Library folder) may have gotten corrupted.

    I vaguely recall that Xcode used to (around 2008-2010 ?) have some kind of indexing bug that resulted in 100% CPU usage. You may have run into something similar.
     
  7. Intelligent thread starter macrumors 6502a

    Intelligent

    Joined:
    Aug 7, 2013
    #7
    I deleted the /user/library/developer/xcode/
    And it didn't do any difference, i also deleted the plist and its still using 103%cpu just by moving an image :confused:.
     
  8. hokan macrumors member

    Joined:
    Mar 18, 2014
    Location:
    Sweden
    #8
    I recommend that you start googling. I myself have not run into your specific issue but I got plenty of result when googling for "xcode 100% cpu" e.g.:

    http://stackoverflow.com/questions/19014559/xcode-5-out-of-control-cpu-and-memory-usage
    http://stackoverflow.com/questions/10522936/xcode-4-3-2-and-100-cpu-constantly-in-the-idle-time

    most of these appear to be related to Xcode 4 but there are Xcode 5 cases as well.

    Also not that there are plenty of places where Xcode stores files e.g. ~/Library/Application Support, ~/Libary/Caches ...
     

Share This Page