本文介绍了Mac OS X Lion 10.7.2 Xcode 4.2内存问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经安装了MacBook Pro 2011、15英寸i7 2GHz 8GB Ram 1333 MHz OS X Lion 10.7.2,到目前为止已安装了所有更新.我已竭尽所能以最大程度地减少RAM消耗,这时我遇到的唯一问题是运行Xcode时.我有4gig的RAM,而不是购买了8g的RAM,在运行3-5分钟的Xcode之后,总有10-30 MB的可用内存,而PAGE INS为300MB-700MB.我试图切换到32位运行模式,但没有任何变化.有人可以帮我吗?

I've got MacBook Pro 2011, 15" i7 2GHz 8GB Ram 1333 MHz OS X Lion 10.7.2 all updates installed released to this date.I have done everything what I can to minimize RAM consumpsion and the only problem I've got at this point is when I run Xcode. I had 4gigs of RAM, than bought 8 gigs and always 've got 10-30 MB of free memory after 3-5 minutes of Xcode running and PAGE INS are 300MB - 700MB. I tried to switch to 32-bit running mode but no change. Can anybody help me please?

推荐答案

是.一种方法是禁用索引编制,另一种方法是减少构建过程的数量.这些是Xcode 4中隐藏的首选项,我在这里对其进行了详细介绍:

Yes. One way is to disable indexing, another is to reduce the number of build processes. These are hidden preferences in Xcode 4 which I have detailed here:

Xcode 4的隐藏功能

为了改善和处理Xcode的资源问题,我也写了很多文章:

I've also made a pretty extensive write up for improving and working with Xcode's resource issues:

为什么xcodebuild和Xcode 4.2如此慢吗?

这篇关于Mac OS X Lion 10.7.2 Xcode 4.2内存问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-24 06:58