From d5613906873899884c47557ca7b064e7ab8eeb15 Mon Sep 17 00:00:00 2001 From: Nikolay Nikolov Date: Sat, 24 Aug 2024 13:11:36 +0300 Subject: [PATCH] + increase WebAssembly max memory limit for test tmt1.pp, because the test runs out of memory with the default memory limit of 256 MiB --- tests/test/tmt1.pp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/test/tmt1.pp b/tests/test/tmt1.pp index c4a50d5217..802a687b45 100644 --- a/tests/test/tmt1.pp +++ b/tests/test/tmt1.pp @@ -3,6 +3,12 @@ {$mode objfpc} +{$ifdef CPUWASM32} + { This test runs out of memory, when using the default WebAssembly shared + memory limit of 256 MiB, so we increase it to 512 MiB } + {$M 1048576,536870912,536870912} +{$endif} + uses {$ifdef unix} cthreads,