Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 84402 - Bitbake excessive memory comsumption causes Linux to freeze/crash with machines with less than 512MB of RAM
Summary: Bitbake excessive memory comsumption causes Linux to freeze/crash with machin...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Embedded Gentoo Team
URL: http://www.oesf.org/forums/index.php?...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-07 08:07 UTC by David Anes
Modified: 2005-03-08 15:35 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Anes 2005-03-07 08:07:50 UTC
When using bitbake, the memory comsumption fullfills the main memory (512MB RAM) and half th swap (512MB on HD). Linux starts doing hyperpagging on the swap partition and Bitbake builds take forever.

Openembedded guys recommend at least 512MB of RAM, but this is not always true.

Reproducible: Always
Steps to Reproduce:
1. Install bitbake
2. Set bitbake environment
3. # bitbake gcc-cross (for example)

Actual Results:  
Excessive memory comsumption causes Linux to do hyperpagging on the swap.

Expected Results:  
Get the bitbake package compiled

There is a patch on http://www.frankengul.org/~seb/cowbb/ to solve the problem,
so the ebuild of bitbake could apply it before compiling bitbake.

The patch reduces drastically the memory consumption of bitbake.

Here is the IBot response on the #oe irc channel for the patch:
"[bbcow] a couple patches for bitbake and openembedded to use copy-on-write for
the metadata handling.  It greatly reduces memory consumption.  Get them at
http://www.frankengul.org/~seb/cowbb/."
Comment 1 SpanKY gentoo-dev 2005-03-08 15:35:39 UTC
added patch to ebuild