meta-freescale.lists.yoctoproject.org archive mirror
 help / color / mirror / Atom feed
* u-boot-fslc 2022.10 failed with exit code '137' (using too much memory) #yocto  #kirkstone #meta-freescale #u-boot
@ 2022-11-29  9:32 Livius
  2022-11-29 11:34 ` [meta-freescale] " Otavio Salvador
  0 siblings, 1 reply; 5+ messages in thread
From: Livius @ 2022-11-29  9:32 UTC (permalink / raw)
  To: meta-freescale

[-- Attachment #1: Type: text/plain, Size: 479 bytes --]

New u-boot-fslc_2022.10.bb is failed always with exit code '137' which means the available memory has been exhausted, so 16 GB DDR4 RAM memory was not enough for this single recipe build on Ubuntu 20.04 desktop Linux.
https://www.containiq.com/post/exit-code-137

Similar problem was happened in mender forum: https://hub.mender.io/t/uboot-auto-configure-exit-code-137/3624

Please fix it, i think it is not normally that 16 GB RAM is not enough for a single recipe build.

[-- Attachment #2: Type: text/html, Size: 550 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [meta-freescale] u-boot-fslc 2022.10 failed with exit code '137' (using too much memory) #yocto #kirkstone #meta-freescale #u-boot
  2022-11-29  9:32 u-boot-fslc 2022.10 failed with exit code '137' (using too much memory) #yocto #kirkstone #meta-freescale #u-boot Livius
@ 2022-11-29 11:34 ` Otavio Salvador
  2022-11-29 13:47   ` u-boot-fslc 2022.10 failed with exit code '137' (using too much memory) #yocto #kirkstone #meta-freescale Livius
  0 siblings, 1 reply; 5+ messages in thread
From: Otavio Salvador @ 2022-11-29 11:34 UTC (permalink / raw)
  To: Livius; +Cc: meta-freescale

[-- Attachment #1: Type: text/plain, Size: 855 bytes --]

Em ter., 29 de nov. de 2022 às 06:33, Livius <egyszeregy@freemail.hu>
escreveu:

> New u-boot-fslc_2022.10.bb is failed always with exit code '137' which
> means the available memory has been exhausted, so 16 GB DDR4 RAM memory was
> not enough for this single recipe build on Ubuntu 20.04 desktop Linux.
> https://www.containiq.com/post/exit-code-137
>
> Similar problem was happened in mender forum:
> https://hub.mender.io/t/uboot-auto-configure-exit-code-137/3624
>
> Please fix it, i think it is not normally that 16 GB RAM is not enough for
> a single recipe build.
>

You reported this on GH too so we'll keep it there and reply there.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9 9981-7854          Mobile: +1 (347) 903-9750

[-- Attachment #2: Type: text/html, Size: 1663 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: u-boot-fslc 2022.10 failed with exit code '137' (using too much memory) #yocto #kirkstone #meta-freescale
  2022-11-29 11:34 ` [meta-freescale] " Otavio Salvador
@ 2022-11-29 13:47   ` Livius
  2022-11-29 14:45     ` [meta-freescale] " Bas Mevissen
  0 siblings, 1 reply; 5+ messages in thread
From: Livius @ 2022-11-29 13:47 UTC (permalink / raw)
  To: meta-freescale

[-- Attachment #1: Type: text/plain, Size: 332 bytes --]

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.

[-- Attachment #2: Type: text/html, Size: 453 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [meta-freescale] u-boot-fslc 2022.10 failed with exit code '137' (using too much memory) #yocto #kirkstone #meta-freescale
  2022-11-29 13:47   ` u-boot-fslc 2022.10 failed with exit code '137' (using too much memory) #yocto #kirkstone #meta-freescale Livius
@ 2022-11-29 14:45     ` Bas Mevissen
  2022-12-01 22:14       ` Livius
  0 siblings, 1 reply; 5+ messages in thread
From: Bas Mevissen @ 2022-11-29 14:45 UTC (permalink / raw)
  To: Livius; +Cc: meta-freescale

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: meta-freescale+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/meta-freescale/unsub 
> [abuse@basmevissen.nl]
> -=-=-=-=-=-=-=-=-=-=-=-


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: u-boot-fslc 2022.10 failed with exit code '137' (using too much memory) #yocto #kirkstone #meta-freescale
  2022-11-29 14:45     ` [meta-freescale] " Bas Mevissen
@ 2022-12-01 22:14       ` Livius
  0 siblings, 0 replies; 5+ messages in thread
From: Livius @ 2022-12-01 22:14 UTC (permalink / raw)
  To: meta-freescale

[-- Attachment #1: Type: text/plain, Size: 92 bytes --]

Solution:
https://github.com/Freescale/meta-freescale/issues/1318#issuecomment-1333725448

[-- Attachment #2: Type: text/html, Size: 221 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-12-01 22:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-29  9:32 u-boot-fslc 2022.10 failed with exit code '137' (using too much memory) #yocto #kirkstone #meta-freescale #u-boot Livius
2022-11-29 11:34 ` [meta-freescale] " Otavio Salvador
2022-11-29 13:47   ` u-boot-fslc 2022.10 failed with exit code '137' (using too much memory) #yocto #kirkstone #meta-freescale Livius
2022-11-29 14:45     ` [meta-freescale] " Bas Mevissen
2022-12-01 22:14       ` Livius

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).