[yocto] 答复: poky consume all memory on redhat-based linux in virtualbox

蔡振军 caizhenjun at insigma.com.cn
Thu Sep 22 03:14:39 PDT 2011


Hi Chris,
         The VM has 1GB memory. Normally 400-500MB is consumed on Ubuntu ,so I think it is enough. Does redhat-based linux need more memory?
         Because I had closed terminal running poky, all process of poky should quit.

发件人: Chris Tapp [mailto:opensource at keylevel.com]
发送时间: 2011年9月22日 18:02
收件人: 蔡振军
抄送: yocto at yoctoproject.org
主题: Re: [yocto] poky consume all memory on redhat-based linux in virtualbox

On 22 Sep 2011, at 10:28, 蔡振军 wrote:


Hi all,
         When I tried to build image on Fedora and Scientific , I encountered same problem that poky consume all memory and then system became very slow. The poky process also moved on hardly. After killing poky process, memory wasn’t freed. I had noticed that some process like “cc1”  brought up by poky process were still alive. Anybody know what’s the problem?

How much memory do you have? I've seen the build process peak at something like 2.5GB. I started running with a VM that only had 1GB allocated and had the same problem as this caused lots of swap file activity. It was mainly the compiler/linker that was using most of the memory, which would explain why you see 'cc1'. Don't forget that the build process fires off multiple processes.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20110922/96d96bbd/attachment.html>


More information about the yocto mailing list