From 534cb5830ea1d6b9dc501a043118f6a808f01f08 Mon Sep 17 00:00:00 2001 From: Lemmy Date: Thu, 7 May 2026 21:08:01 -0400 Subject: [PATCH] limit memory arena to 2 --- src/main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index 3b55fec8e..6c4a74356 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -9,6 +9,7 @@ #include #include #include +#include #include #include @@ -60,6 +61,7 @@ namespace { } // namespace int main(int argc, char* argv[]) { + mallopt(M_ARENA_MAX, 2); std::setlocale(LC_ALL, ""); if (argc >= 2) { if (std::strcmp(argv[1], "theme") == 0)