Xcode 突然变得很慢 [英] Xcode suddenly becomes very slow

查看:37
本文介绍了Xcode 突然变得很慢的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的 Xcode 速度已经下降到爬行.我不知道为什么.两个内核上的 CPU 活动都非常低,大量内存.

My Xcode speed has come down to a crawl. I have no idea why. CPU activity is very low on both cores, gobs of memory.

就好像它在等待什么,但我不知道是什么.我已经断开了所有 USB 和 FireWire 设备的连接,但它只起到了一点作用.

It's almost as if it's waiting for something but I have no idea what. I have disconnected all USB and FireWire devices but it helped only a little bit.

有什么想法吗?

推荐答案

我首先要看的是 HDD.是否经常被访问?如果是这样,它将表明几种可能的情况 - 内存不足和大量交换、硬盘可用空间不足导致它寻找空间、严重碎片等.

First thing I'd look at is the HDD. Is it constantly being accessed? If so, it would indicate several possible things - memory shortage and lots of swapping, hard drive free space shortage cause it to hunt for space, heavy fragementation etc.

如果不是这样,也许 Xcode 正在后台运行某些东西.您是否添加了任何可以做某事的自定义脚本?

If thats not it, perhaps Xcode is running something in the background. Do you have any custom scripts you have added which could have done something?

你重启了吗?

这篇关于Xcode 突然变得很慢的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆