Skip to content

Commit d208987

Browse files
committed
fix(git-import): set heap size of importer process
1 parent 45c15eb commit d208987

File tree

1 file changed

+1
-1
lines changed
  • mps-git-import-cli/src/main/kotlin/org/modelix/mps/gitimport/cli

1 file changed

+1
-1
lines changed

mps-git-import-cli/src/main/kotlin/org/modelix/mps/gitimport/cli/Main.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ fun main(args: Array<String>) {
1515
mainMethodName = "runFromAnt",
1616
mpsHome = File("/mps"),
1717
jarFolders = listOf(File("/mps-git-import-cli/lib")),
18-
jvmArgs = args.mapIndexed { index, arg -> "-Dmodelix.git.import.args.$index=$arg" },
18+
jvmArgs = listOf("-Xmx2048m") + args.mapIndexed { index, arg -> "-Dmodelix.git.import.args.$index=$arg" },
1919
moduleId = UUID.randomUUID(),
2020
buildDir = buildDir,
2121
workDir = workDir,

0 commit comments

Comments
 (0)