Yocto Project Discussions
 help / color / mirror / Atom feed
* Limiting Yocto Memory Usage
@ 2026-07-10 21:26 Luis Merayo
  2026-07-14 21:33 ` [yocto] " Randy MacLeod
  2026-07-16  8:22 ` Ulrich Ölmann
  0 siblings, 2 replies; 11+ messages in thread
From: Luis Merayo @ 2026-07-10 21:26 UTC (permalink / raw)
  To: yocto

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

Hi,

I would like to know if there is a way to limit Bitbake's Memory usage to a
specific percentage of the available RAM. For example, can the Yocto build
be limited to use a maximum of 70% of RAM?

Could these three variables achieve this?

 BB_PRESSURE_MAX_CPU
<https://docs.yoctoproject.org/dev/ref-manual/variables.html#term-BB_PRESSURE_MAX_CPU>
, BB_PRESSURE_MAX_IO
<https://docs.yoctoproject.org/dev/ref-manual/variables.html#term-BB_PRESSURE_MAX_IO>
 , BB_PRESSURE_MAX_MEMORY
<https://docs.yoctoproject.org/dev/ref-manual/variables.html#term-BB_PRESSURE_MAX_MEMORY>

I see the range for these variables is from 1 to 1000000, so I would like
to understand if there is a way to specify their values as a function of
the available RAM.

Regards,

Luis

-- 
 <https://ridgerun.ai/>
This email and any attachments are intended for the 
sole use of the named recipient(s) and contain(s) confidential information 
that may be proprietary, privileged, or copyrighted under applicable law. 
If you are not the intended recipient, do not read, copy, or forward this 
email message or any attachments, delete this email message and any 
attachments immediately.

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

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

end of thread, other threads:[~2026-07-29 21:30 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-10 21:26 Limiting Yocto Memory Usage Luis Merayo
2026-07-14 21:33 ` [yocto] " Randy MacLeod
2026-07-28  7:30   ` Ferry Toth
2026-07-28 20:35     ` Ferry Toth
2026-07-28 21:20       ` Randy MacLeod
2026-07-28 21:36         ` Ferry Toth
2026-07-29 21:30           ` Randy MacLeod
2026-07-16  8:22 ` Ulrich Ölmann
2026-07-21 15:22   ` Randy MacLeod
2026-07-22  6:23     ` Nate Kent
2026-07-22  8:00     ` Ulrich Ölmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox