diff --git a/api-gateway/build.gradle.kts b/api-gateway/build.gradle.kts index e23a53f..9f44b2d 100644 --- a/api-gateway/build.gradle.kts +++ b/api-gateway/build.gradle.kts @@ -77,6 +77,7 @@ jib { "-Xmx3G", "-XX:MaxRAMPercentage=80", "-XX:MaxGCPauseMillis=200", + "-XX:+AlwaysPreTouch", "-XX:+DisableExplicitGC", // System.gc() 방어 "-server", ) diff --git a/photo-service/build.gradle.kts b/photo-service/build.gradle.kts index 0b5474c..676b480 100644 --- a/photo-service/build.gradle.kts +++ b/photo-service/build.gradle.kts @@ -74,6 +74,7 @@ jib { "-Xmx3G", "-XX:MaxRAMPercentage=80", "-XX:MaxGCPauseMillis=200", + "-XX:+AlwaysPreTouch", "-XX:+DisableExplicitGC", // System.gc() 방어 "-server", ) diff --git a/user-service/build.gradle.kts b/user-service/build.gradle.kts index e88d69c..8996cbf 100644 --- a/user-service/build.gradle.kts +++ b/user-service/build.gradle.kts @@ -93,6 +93,7 @@ jib { "-XX:MaxRAMPercentage=80", "-XX:MaxGCPauseMillis=200", "-XX:+DisableExplicitGC", // System.gc() 방어 + "-XX:+AlwaysPreTouch", "-server", ) ports = listOf(serverPort)