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
This commit is contained in:
Richard Levasseur
2024-07-12 06:09:36 -07:00
committed by Copybara-Service
parent 84108589c4
commit a0df72f43f
+1 -1
View File
@@ -40,7 +40,7 @@ class MemoryLeakTest(absltest.TestCase):
</worldbody>
</mujoco>
""")
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)