Skip to content

Commit

Permalink
feat: optimize memory
Browse files Browse the repository at this point in the history
  • Loading branch information
CChuYong authored Dec 18, 2024
1 parent b1cb8a8 commit 1c582b1
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
6 changes: 4 additions & 2 deletions api-gateway/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,10 @@ jib {
"-XX:+UnlockExperimentalVMOptions",
"-XX:+UseContainerSupport",
"-XX:+UseG1GC",
"-XX:InitialHeapSize=1g",
"-XX:MaxHeapSize=1g",
"-Xms1500M",
"-Xmx3G",
"-XX:MaxRAMPercentage=80",
"-XX:MaxGCPauseMillis=200",
"-XX:+DisableExplicitGC", // System.gc() 방어
"-server",
)
Expand Down
6 changes: 4 additions & 2 deletions photo-service/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,10 @@ jib {
"-XX:+UnlockExperimentalVMOptions",
"-XX:+UseContainerSupport",
"-XX:+UseG1GC",
"-XX:InitialHeapSize=1g",
"-XX:MaxHeapSize=1g",
"-Xms1500M",
"-Xmx3G",
"-XX:MaxRAMPercentage=80",
"-XX:MaxGCPauseMillis=200",
"-XX:+DisableExplicitGC", // System.gc() 방어
"-server",
)
Expand Down
6 changes: 4 additions & 2 deletions user-service/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,10 @@ jib {
"-XX:+UnlockExperimentalVMOptions",
"-XX:+UseContainerSupport",
"-XX:+UseG1GC",
"-XX:InitialHeapSize=1g",
"-XX:MaxHeapSize=1g",
"-Xms1500M",
"-Xmx3G",
"-XX:MaxRAMPercentage=80",
"-XX:MaxGCPauseMillis=200",
"-XX:+DisableExplicitGC", // System.gc() 방어
"-server",
)
Expand Down

0 comments on commit 1c582b1

Please sign in to comment.