limit memory arena to 2

This commit is contained in:
Lemmy
2026-05-07 21:08:01 -04:00
parent 284efb9866
commit 534cb5830e
+2
View File
@@ -9,6 +9,7 @@
#include <clocale>
#include <cstdio>
#include <cstring>
#include <malloc.h>
#include <stdexcept>
#include <string>
@@ -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)