From fe3ec9bd99c673d4377066c46d749c5b2bcb5d16 Mon Sep 17 00:00:00 2001 From: Joel Klinghed Date: Mon, 23 Jan 2023 15:02:40 +0100 Subject: Increase memory available for kotlinc Got a lot of OOM:s --- bin/flycheck-android-kotlin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/flycheck-android-kotlin.py b/bin/flycheck-android-kotlin.py index bceafc8..159baef 100644 --- a/bin/flycheck-android-kotlin.py +++ b/bin/flycheck-android-kotlin.py @@ -70,7 +70,7 @@ def cleanup_output(tmp, real): def run_kotlinc(cp, files, output, args, sourcefile, outdir): """Execute kotlinc with the given options.""" - command = ['kotlinc'] + command = ['kotlinc', '-J-Xms1g', '-J-Xmx3g'] if outdir: command.extend(['-d', outdir]) tmp = [outdir] -- cgit v1.2.3-70-g09d2