Skip to content

Commit df9c601

Browse files
committed
Kotlin: Pass memory limits to kotlinc in some tests
We can run out of memory with the defaults
1 parent 4908188 commit df9c601

File tree

2 files changed

+2
-2
lines changed
  • java/ql/integration-tests/all-platforms/kotlin
    • extractor_information_kotlin1
    • extractor_information_kotlin2

2 files changed

+2
-2
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
from create_database_utils import *
22

3-
run_codeql_database_create(["kotlinc SomeClass.kt"], lang="java")
3+
run_codeql_database_create(["kotlinc -J-Xmx2G SomeClass.kt"], lang="java")
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
from create_database_utils import *
22

3-
run_codeql_database_create(["kotlinc -language-version 2.0 SomeClass.kt"], lang="java")
3+
run_codeql_database_create(["kotlinc -J-Xmx2G -language-version 2.0 SomeClass.kt"], lang="java")

0 commit comments

Comments
 (0)