Re: [meta-freescale] u-boot-fslc 2022.10 failed with exit code '137' (using too much memory) #yocto #kirkstone #meta-freescale

Bas Mevissen <[email protected]> Tue, 29 Nov 2022 15:45:51 +0100
Newsgroups org.yoctoproject.lists.meta-freescale
Message-ID <[email protected]>
On 2022-11-29 14:47, Livius wrote:

> Yes, i reported it in GitHub also
> 
> https://github.com/Freescale/meta-freescale/issues/1318
> 
> I have no any other Linux desktop machine to try it in a different host 
> PC but i could see my eyes in htop GUI that total memory usage was in 
> full 16 GB in 3-4 minutes at compiling task of u-boot then finally i 
> got the error code 137.

You know you can reduce the memory consumption by:
1) Lowering the number of parallel makes (using PARALLEL_MAKE in 
local.conf or maybe in a .bbappend for the package)
2) Limit the number of bitbake threads (using BB_NUMBER_THREADS in 
local.conf)
3) Create a swap file on an SSD?

I use the latter with Android AOSP builds as they really need more than 
16GB RAM by default.

> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#24894): 
> https://lists.yoctoproject.org/g/meta-freescale/message/24894
> Mute This Topic: https://lists.yoctoproject.org/mt/95331009/3617169
> Mute 
> #yocto:https://lists.yoctoproject.org/g/meta-freescale/mutehashtag/yocto
> Mute 
> #kirkstone:https://lists.yoctoproject.org/g/meta-freescale/mutehashtag/kirkstone
> Mute 
> #meta-freescale:https://lists.yoctoproject.org/g/meta-freescale/mutehashtag/meta-freescale
> Mute 
> #u-boot:https://lists.yoctoproject.org/g/meta-freescale/mutehashtag/u-boot
> Group Owner: [email protected]
> Unsubscribe: https://lists.yoctoproject.org/g/meta-freescale/unsub 
> [[email protected]]
> -=-=-=-=-=-=-=-=-=-=-=-