Skip to content

Commit 2c42341

Browse files
committed
[Fix] JVM 힙 메모리 설정
1 parent a42f083 commit 2c42341

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docker-compose.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,10 @@ services:
99
environment:
1010
- spring.config.additional-location=file:/app/application.properties
1111
- TZ=Asia/Seoul
12+
- JAVA_OPTS="-Xms64m -Xmx512m -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/dumps"
1213
volumes:
1314
- ./application.properties:/app/application.properties
15+
- ./dumps:/dumps
1416
deploy:
1517
resources:
1618
limits:

0 commit comments

Comments
 (0)