mirror of
https://github.com/TermoraDev/termora.git
synced 2026-01-16 02:12:58 +08:00
fix: high CPU
This commit is contained in:
@@ -8,6 +8,7 @@ import java.nio.file.Files
|
||||
|
||||
plugins {
|
||||
java
|
||||
idea
|
||||
application
|
||||
alias(libs.plugins.kotlin.jvm)
|
||||
alias(libs.plugins.kotlinx.serialization)
|
||||
@@ -116,7 +117,6 @@ application {
|
||||
"-XX:+ZUncommit",
|
||||
"-XX:+ZGenerational",
|
||||
"-XX:ZUncommitDelay=60",
|
||||
"-XX:SoftMaxHeapSize=64m"
|
||||
)
|
||||
|
||||
if (os.isMacOsX) {
|
||||
@@ -244,7 +244,6 @@ tasks.register<Exec>("jpackage") {
|
||||
"-XX:+ZUncommit",
|
||||
"-XX:+ZGenerational",
|
||||
"-XX:ZUncommitDelay=60",
|
||||
"-XX:SoftMaxHeapSize=64m",
|
||||
"-XX:+HeapDumpOnOutOfMemoryError",
|
||||
"-Dlogger.console.level=off",
|
||||
"-Dkotlinx.coroutines.debug=off",
|
||||
@@ -543,3 +542,10 @@ kotlin {
|
||||
vendor = JvmVendorSpec.JETBRAINS
|
||||
}
|
||||
}
|
||||
|
||||
idea {
|
||||
module {
|
||||
isDownloadJavadoc = true
|
||||
isDownloadSources = true
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user