From 9c2938dd3584c29f36a2f51d850078c83f01baaa Mon Sep 17 00:00:00 2001 From: dldmsql Date: Sat, 29 Jun 2024 23:41:35 +0900 Subject: [PATCH] =?UTF-8?q?chore(POLABO-31):=20heap=20memory=20leak=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.gradle.kts | 15 ++++++++------- gradle/wrapper/gradle-wrapper.properties | 5 +---- 2 files changed, 9 insertions(+), 11 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 9da232e..6928301 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -7,8 +7,8 @@ plugins { id("io.spring.dependency-management") version "1.1.5" kotlin("jvm") version kotlinVersion kotlin("plugin.spring") version kotlinVersion - kotlin("plugin.jpa") version kotlinVersion - kotlin("plugin.allopen") version kotlinVersion +// kotlin("plugin.jpa") version kotlinVersion +// kotlin("plugin.allopen") version kotlinVersion kotlin("kapt") version kotlinVersion id("nu.studer.jooq") version "9.0" } @@ -59,11 +59,11 @@ jooq { } } -allOpen { - annotation("jakarta.persistence.Entity") - annotation("jakarta.persistence.MappedSuperclass") - annotation("jakarta.persistence.Embeddable") -} +//allOpen { +// annotation("jakarta.persistence.Entity") +// annotation("jakarta.persistence.MappedSuperclass") +// annotation("jakarta.persistence.Embeddable") +//} repositories { mavenCentral() @@ -96,6 +96,7 @@ tasks.withType { kotlinOptions { freeCompilerArgs += "-Xjsr305=strict" jvmTarget = "21" + kotlinDaemonJvmArguments = listOf("-Xmx4096m", "-Xms2560m", "-XX:+UseParallelGC") } } diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index be3e029..dab2a01 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -4,7 +4,4 @@ distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-bin.zip networkTimeout=10000 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME -zipStorePath=wrapper/dists -org.gradle.daemon=true -org.gradle.configureondemand=true -org.gradle.jvmargs=-Xms4g -Xmx4g -XX:+CMSClassUnloadingEnabled --illegal-access=permit \ No newline at end of file +zipStorePath=wrapper/dists \ No newline at end of file