[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 1446cfd13d)
This commit is contained in:
Fabio Alessandrelli 2021-02-15 16:40:44 +01:00 committed by Rémi Verschelde
parent 89076410de
commit 11d1b0387e
No known key found for this signature in database
GPG Key ID: C3336907360768E1
1 changed files with 3 additions and 3 deletions

View File

@ -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.