Skip to content

Commit

Permalink
chore(POLABO-31): heap memory leak 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
dldmsql committed Jun 29, 2024
1 parent a307ac7 commit 9c2938d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 11 deletions.
15 changes: 8 additions & 7 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand Down Expand Up @@ -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()
Expand Down Expand Up @@ -96,6 +96,7 @@ tasks.withType<KotlinCompile> {
kotlinOptions {
freeCompilerArgs += "-Xjsr305=strict"
jvmTarget = "21"
kotlinDaemonJvmArguments = listOf("-Xmx4096m", "-Xms2560m", "-XX:+UseParallelGC")
}
}

Expand Down
5 changes: 1 addition & 4 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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
zipStorePath=wrapper/dists

0 comments on commit 9c2938d

Please sign in to comment.