From 3369ae825433929c61ce1727c90bd2ee7fa83c64 Mon Sep 17 00:00:00 2001 From: payen000 Date: Thu, 8 Feb 2024 19:25:03 +0000 Subject: [PATCH] [FIX] odoo: reduce memory limit for tests Implementation of patch [1] for v16. [1] https://github.com/Vauxoo/odoo/pull/559 --- odoo/tests/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/odoo/tests/common.py b/odoo/tests/common.py index 8b7df75cc2da8..2eb7853647333 100644 --- a/odoo/tests/common.py +++ b/odoo/tests/common.py @@ -952,7 +952,7 @@ def _chrome_without_limit(self, cmd): # virtual mem for alignment this exceeds our default memory limits. def preexec(): import resource - resource.setrlimit(resource.RLIMIT_AS, (resource.RLIM_INFINITY, resource.RLIM_INFINITY)) + resource.setrlimit(resource.RLIMIT_AS, (16**9, 16**9)) else: preexec = None