mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 01:41:11 +01:00
Merge pull request #6883 from alvasw/fix_seednode_jvm_args
Set seednode JVM arguments
This commit is contained in:
commit
27b7401da8
@ -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()
|
||||
|
@ -3,7 +3,10 @@ plugins {
|
||||
id 'bisq.gradle.app_start_plugin.AppStartPlugin'
|
||||
}
|
||||
|
||||
mainClassName = 'bisq.seednode.SeedNodeMain'
|
||||
application {
|
||||
mainClass = 'bisq.seednode.SeedNodeMain'
|
||||
applicationDefaultJvmArgs = ['-XX:+ExitOnOutOfMemoryError']
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation enforcedPlatform(project(':platform'))
|
||||
|
Loading…
Reference in New Issue
Block a user