seednode: Set JVM heap size to 4096M

This commit is contained in:
Alva Swanson 2023-09-25 21:21:27 +02:00
parent 79992ed991
commit 34fc85f9c6
No known key found for this signature in database
GPG Key ID: 004760E77F753090

View File

@ -26,6 +26,11 @@ class AppStartPlugin @Inject constructor(private val javaToolchainService: JavaT
dependsOn(installDistTask)
javaLauncher.set(getJavaLauncher(project))
if (project.name == "seednode") {
minHeapSize = "4096M"
maxHeapSize = "4096M"
}
classpath = installDistTask.map {
val appLibsDir = File(it.destinationDir, "lib")
val allFiles = appLibsDir.listFiles()