On 10/5/23 08:03, Adam Williamson wrote:
On Wed, 2023-10-04 at 12:19 +0200, Kalev Lember wrote:
On Wed, Oct 4, 2023 at 11:44 AM Martin Stransky <stransky@xxxxxxxxxx> wrote:
Hello guys,
Is there's a way how to set requested amount of ram for koji builders?
I'd like to use it as Firefox builds fail recently due low memory, like
https://bugzilla.redhat.com/show_bug.cgi?id=2241690
I looked at the first linked build log in the ticket and it looks like the
build failed in the debuginfo extraction step. In that log, find-debuginfo
is called with -j3, and it could be that it ran out of memory because it
was trying to do 3 debuginfo extractions in parallel. You could try to
stick something like this in the spec file to tune it down:
# Require 32 GB of RAM per CPU core for debuginfo processing
%global _find_debuginfo_opts %limit_build -m 32768
Thanks for the idea, Kalev. I went ahead and applied this, and builds
for F38 and F39 succeeded. Let's hope it really helps and this wasn't
just luck!
Thanks Adam!
--
Martin Stransky
Software Engineer / Red Hat, Inc
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue