JS: Raise default memory limit to 2.4G

This commit is contained in:
Asger Feldthaus
2020-03-05 15:11:03 +00:00
parent c55dcf88d5
commit 759631ae56

View File

@@ -262,7 +262,7 @@ public class TypeScriptParser {
int mainMemoryMb =
typescriptRam != 0
? typescriptRam
: getMegabyteCountFromPrefixedEnv(TYPESCRIPT_RAM_SUFFIX, 1000);
: getMegabyteCountFromPrefixedEnv(TYPESCRIPT_RAM_SUFFIX, 2000);
int reserveMemoryMb = getMegabyteCountFromPrefixedEnv(TYPESCRIPT_RAM_RESERVE_SUFFIX, 400);
File parserWrapper = getParserWrapper();