Skip to content

Commit

Permalink
This is a VM argument 🤦
Browse files Browse the repository at this point in the history
  • Loading branch information
ultraq committed Mar 15, 2021
1 parent 93897f9 commit 984ac33
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions redhorizon-utilities/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ subprojects {

application {
applicationDefaultJvmArgs = [
"-Dredhorizon.version=${version}"
"-Dredhorizon.version=${version}",
'-Dorg.lwjgl.system.stackSize=10240'
]
}

Expand All @@ -41,7 +42,6 @@ class CustomUnixStartScriptGenerator implements ScriptGenerator {
@Override
void generateScript(JavaAppStartScriptGenerationDetails details, Writer writer) {
details.defaultJvmOpts.add(0, '-XstartOnFirstThread')
details.defaultJvmOpts << '-Dorg.lwjgl.system.stackSize=10240'
generator.generateScript(details, writer)
}
}

0 comments on commit 984ac33

Please sign in to comment.