Skip to content

Commit

Permalink
hotfix : GC 힙 메모리 최소치 삭제
Browse files Browse the repository at this point in the history
  • Loading branch information
thdgustjd1 committed Feb 27, 2025
1 parent 263fa31 commit 0c1cb69
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/be-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- be
- hotfix-1

jobs:
uniro-ci:
Expand Down
2 changes: 1 addition & 1 deletion uniro_backend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ COPY ${JAR_FILE} uniro-server.jar
ENV SPRING_PROFILE=${SPRING_PROFILE}

# JVM 메모리 설정 추가
ENTRYPOINT ["java", "-Duser.timezone=Asia/Seoul","-Dspring.profiles.active=${SPRING_PROFILE}","-XX:+HeapDumpOnOutOfMemoryError","-XX:HeapDumpPath=/tmp/heapdump.hprof", "-Xmx500m", "-Xms500m", "-jar", "uniro-server.jar"]
ENTRYPOINT ["java", "-Duser.timezone=Asia/Seoul","-Dspring.profiles.active=${SPRING_PROFILE}","-XX:+HeapDumpOnOutOfMemoryError","-XX:HeapDumpPath=/tmp/heapdump.hprof", "-Xmx512m", "-jar", "uniro-server.jar"]

0 comments on commit 0c1cb69

Please sign in to comment.