From 9c8151f6b87f03226e05f7ac9412be74449d60bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=86=A1=EC=98=81=EB=AF=BC=20=28YeongMin=20Song=29?= Date: Wed, 18 Dec 2024 21:56:58 +0900 Subject: [PATCH] feat: add alwayspretouch --- api-gateway/build.gradle.kts | 1 + photo-service/build.gradle.kts | 1 + user-service/build.gradle.kts | 1 + 3 files changed, 3 insertions(+) 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)