Skip to content

Commit

Permalink
Merge pull request #64 from ls1intum/chore/add-oom-heap-dump
Browse files Browse the repository at this point in the history
Add HeapDumpOnOutOfMemoryError to Artemi service
  • Loading branch information
Mtze authored Jan 16, 2024
2 parents 5f1d325 + d77cae4 commit ca61ed8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions roles/artemis/templates/artemis.service.j2
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ ExecStart=/usr/bin/java \
-Djava.security.egd=file:/dev/./urandom \
-Xmx{{ (artemis_system_ram_proportion * ansible_memory_mb.real.total) | int }}m \
-XX:+ShowCodeDetailsInExceptionMessages \
-XX:+HeapDumpOnOutOfMemoryError \
--add-modules java.se \
--add-exports java.base/jdk.internal.ref=ALL-UNNAMED \
--add-exports java.naming/com.sun.jndi.ldap=ALL-UNNAMED \
Expand Down

0 comments on commit ca61ed8

Please sign in to comment.