summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Klinghed <the_jk@opera.com>2023-01-23 15:02:40 +0100
committerJoel Klinghed <the_jk@opera.com>2023-01-23 15:02:40 +0100
commitfe3ec9bd99c673d4377066c46d749c5b2bcb5d16 (patch)
treed532b418c47c7dafa01b7eb0bb8e6d0a39b6bf27
parentafa7dbe0e40e3cb515de7e6d25d526b5362e9922 (diff)
Increase memory available for kotlinc
Got a lot of OOM:s
-rw-r--r--bin/flycheck-android-kotlin.py2
1 files changed, 1 insertions, 1 deletions
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]