From 2d5b33b41769a62b508f48dead9c472c0f99efd84abb65e3cc1919512cfa82e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Fri, 6 Apr 2018 11:22:57 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/network:chromium/memory-constraints?expand=0&rev=3 --- memory-constraints.macros | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/memory-constraints.macros b/memory-constraints.macros index 5f6ec13..7450b88 100644 --- a/memory-constraints.macros +++ b/memory-constraints.macros @@ -5,10 +5,10 @@ # rather than just giving you OOM # -# m: memory limit in MBs per core; default is 1000 +# m: memory limit in Bs per core; default is 1000000 %limit_build(m:) \ _threads="`/usr/bin/getconf _NPROCESSORS_ONLN`" - _core_memory="%{-m:%{-m*}}%{!-m:1000}" + _core_memory="%{-m:%{-m*}}%{!-m:1000000}" echo "Available memory:" \ cat /proc/meminfo \ echo "System limits:" \