Urgent!! OE BitBake consuming Huge Hard Disk Space !!

Hi All,

This is my first Bit bake on OE.

Is this expected?? BitBake consuming more than 25 GB of hard Disk!!

Please suggest me if I need to Kill the process as I will be running
out of memory soon

I am following the guide :
http://wiki.openembedded.org/index.php/Getting_Started

I am trying to do my first BitBake with the command
$ bitbake x11-image

The command is running for past 7 hours and completed only 1666 task
of 4786.

I have about 30 GB HD partition for Ubuntu 9.10 .

I observed :
/home/avinash/oe/build/tmp/ is consuming all the space

/home/avinash/oe/build/tmp/work is occupying about 12 GB space

Also If there is nothing wrong with Bitbake , Please let me know what
is the memory requierement for building Angstrom?

Will using external hard Disk for BitBake have any issues?? like
symlink or any thing?

Thanks & Regards
Avinash

Hi All,

This is my first Bit bake on OE.

Is this expected?? BitBake consuming more than 25 GB of hard Disk!!

Please suggest me if I need to Kill the process as I will be running
out of memory soon

I am following the guide :
http://wiki.openembedded.org/index.php/Getting_Started

I am trying to do my first BitBake with the command
$ bitbake x11-image

The command is running for past 7 hours and completed only 1666 task
of 4786.

I have about 30 GB HD partition for Ubuntu 9.10 .

I observed :
/home/avinash/oe/build/tmp/ is consuming all the space

/home/avinash/oe/build/tmp/work is occupying about 12 GB space

Also If there is nothing wrong with Bitbake , Please let me know what
is the memory requierement for building Angstrom?

Will using external hard Disk for BitBake have any issues?? like
symlink or any thing?

External harddrive should be OK. Do not use a symlink above the OE
directory. Autoconf (or something related) has trouble with that and
your build will fail.

Adding:

INHERIT += "rm_work"

will also help. At the expense of deleting the build results for all packages.

Philip

Thanks Philip!!

But can you guess what is the usual space take by bitbake. so that i
could be better prepared for my next build.

Shall I assume there is no Issue with this Bitbake which is running
for hours
and consumed major chunk of my hard disk.abt 20 GB now.

Unfortunately I might have to kill this process and rerun on external
drive. :frowning:

Thanks Again!!
Avinash

Thanks Philip!!

But can you guess what is the usual space take by bitbake. so that i
could be better prepared for my next build.

For me It's only 8.3 GB,With INHERIT += "rm_work"

Shall I assume there is no Issue with this Bitbake which is running
for hours

Yes I think there is no issue with your bitbake , Also It's depend on
your internet speed.

Thanks Sunny ,

Just a Wild Guess, could I delete some files manually so as to free
some space!! like what rm_work is supposed to do.
It could save me a lot of time .

If yes, please suggest me which folder I could delete?
is it /home/avinash/oe/build/tmp/work. - its taken abt 10 GB space

> But can you guess what is the usual space take by bitbake. so that i
> could be better prepared for my next build.

For me It's only 8.3 GB,With INHERIT += "rm_work"

Yes I think there is no issue with your bitbake , Also It's depend on
your internet speed.

Internet speed is pretty good at abt 100 K/s

Dear avi,

[…]

If yes, please suggest me which folder I could delete?
is it /home/avinash/oe/build/tmp/work. - its taken abt 10 GB space

You can look for the `download` directory. I do not know if `rm_work`
also deletes the archives.

Thanks,

Paul

What’s the point to delete “download” directory??? To download all those hundreds packages again?? You better delete OE/build/tmp directory

2010/3/15 Paul Menzel <pm.debian@googlemail.com>

or just use rm_work?

Or even rm_old_work
https://github.com/OpenAZBox/oe-core/blob/master/meta-openpli/classes/rm_old_work.bbclass