Przeglądaj źródła

* increased the default max memory for WebAssembly threads to 256 MiB

Nikolay Nikolov 11 miesięcy temu
rodzic
commit
a4608bd008
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      compiler/parser.pas

+ 1 - 1
compiler/parser.pas

@@ -202,7 +202,7 @@ implementation
            system_wasm32_wasi:
            system_wasm32_wasi:
              begin
              begin
                if ts_wasm_threads in init_settings.targetswitches then
                if ts_wasm_threads in init_settings.targetswitches then
-                 maxheapsize:=33554432
+                 maxheapsize:=268435456
                else
                else
                  maxheapsize:=0;
                  maxheapsize:=0;
              end;
              end;