From a0df72f43fb0b9d321e98109fe1cae0996d6074e Mon Sep 17 00:00:00 2001 From: Richard Levasseur Date: Fri, 12 Jul 2024 06:09:36 -0700 Subject: [PATCH] Raise memory limit so test passes with dynamic linking The memory leak test fails with `RAW: mmap error: 12` when dynamic linking is enabled. This is probabably because of the additional memory overhead dynamic linking incurs. Raising it slightly appears to satisfy the test. Tested: TAP --sample ran all affected tests and none failed http://test/OCL:650692833:BASE:650634362:1720548680801:c55c6a68 PiperOrigin-RevId: 651750900 Change-Id: Ia63d153b326ff7451391789e2d7cae50a62be723 --- python/mujoco/memory_leak_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/mujoco/memory_leak_test.py b/python/mujoco/memory_leak_test.py index 47fae759..55667a7b 100644 --- a/python/mujoco/memory_leak_test.py +++ b/python/mujoco/memory_leak_test.py @@ -40,7 +40,7 @@ class MemoryLeakTest(absltest.TestCase): """) - limit = self._memory_limit(4 * 2**30) + limit = self._memory_limit(4 * 2**32) try: model = mujoco.MjModel.from_xml_string(model_xml) data = mujoco.MjData(model)