Skip to content

Commit eab34bc

Browse files
authored
Merge pull request github#98 from github/igfoo/ram
Kotlin: Use 2G when compiling
2 parents 4311788 + ff99ba3 commit eab34bc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

java/kotlin-extractor/build.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
def compile_to_dir(srcs, classpath, java_classpath, output):
1616
# Use kotlinc to compile .kt files:
1717
subprocess.run([kotlinc,
18+
# kotlinc can default to 256M, which isn't enough when we are extracting the build
19+
'-J-Xmx2G',
1820
'-d', output,
1921
'-module-name', 'codeql-kotlin-extractor',
2022
'-no-reflect',

0 commit comments

Comments
 (0)