diff options
| author | Joel Klinghed <the_jk@opera.com> | 2023-01-23 15:02:40 +0100 |
|---|---|---|
| committer | Joel Klinghed <the_jk@opera.com> | 2023-01-23 15:02:40 +0100 |
| commit | fe3ec9bd99c673d4377066c46d749c5b2bcb5d16 (patch) | |
| tree | d532b418c47c7dafa01b7eb0bb8e6d0a39b6bf27 | |
| parent | afa7dbe0e40e3cb515de7e6d25d526b5362e9922 (diff) | |
Increase memory available for kotlinc
Got a lot of OOM:s
| -rw-r--r-- | bin/flycheck-android-kotlin.py | 2 |
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] |
