Просмотр исходного кода

[HTML5] Bump initial memory for Web editor

More memory is needed because the editor became bigger with the addition
of class reference translations.

(cherry picked from commit 1446cfd13dae0e2e938466eddd325d45e1a032b5)
Fabio Alessandrelli 4 лет назад
Родитель
Сommit
11d1b0387e
1 измененных файлов с 3 добавлено и 3 удалено
  1. 3 3
      platform/javascript/detect.py

+ 3 - 3
platform/javascript/detect.py

@@ -90,9 +90,9 @@ def configure(env):
         if not env["threads_enabled"]:
             print("Threads must be enabled to build the editor. Please add the 'threads_enabled=yes' option")
             sys.exit(255)
-        if env["initial_memory"] < 32:
-            print("Editor build requires at least 32MiB of initial memory. Forcing it.")
-            env["initial_memory"] = 32
+        if env["initial_memory"] < 64:
+            print("Editor build requires at least 64MiB of initial memory. Forcing it.")
+            env["initial_memory"] = 64
     else:
         # Disable exceptions and rtti on non-tools (template) builds
         # These flags help keep the file size down.