# O2 build fails

**URL:** <https://alice-talk.web.cern.ch/t/o2-build-fails/790>\
**Category:** O²\
**Tags:** build\
**Created:** [December 30, 2020, 8:41am UTC](https://alice-talk.web.cern.ch/t/o2-build-fails/790 "2020-12-30T08:41:47Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![sheckel](https://alice-talk.web.cern.ch/user_avatar/alice-talk.web.cern.ch/sheckel/32/259_2.png) [@sheckel](https://alice-talk.web.cern.ch/u/sheckel)\
**Post date:** [December 31, 2020, 3:07pm UTC](https://alice-talk.web.cern.ch/t/o2-build-fails/790/4 "2020-12-31T15:07:22Z")

</div>

Dear Roman,

this indeed could be a memory issue, as it stops at the O2 analysis tasks, which are quite memory hungry at the moment. Even with 16 GB RAM this can cause problems, with 32 GB you should be safe. If you have less, you can restrict the number of cores by adding to the aliBuild command `-j <nCores>` taking 1 or 2 for the max. number of cores.

For more detail, you can have a look at [this thread](https://alice-talk.web.cern.ch/t/memory-consumption-of-the-analysis-framework-during-the-build-phase/637).

Cheers - and happy new year! 🙂  
Stefan

---

_[View the full topic](https://alice-talk.web.cern.ch/t/o2-build-fails/790)._
