Skip to content

Commit

Permalink
Update OutOfMemory Settings.
Browse files Browse the repository at this point in the history
  • Loading branch information
wsalesky committed Apr 15, 2024
1 parent 78a3f2a commit 8e2c35b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,9 @@ ENV JAVA_TOOL_OPTIONS \
-XX:+UseStringDeduplication \
-XX:+UseContainerSupport \
-XX:MaxRAMPercentage=${JVM_MAX_RAM_PERCENTAGE:-75.0} \
-XX:MaxRAMFraction=2 \
-XX:+ExitOnOutOfMemoryError
-XX:+ExitOnOutOfMemoryError \
-XX:-HeapDumpOnOutOfMemoryError \
-XX:HeapDumpPath=/exist/heapDump/exist-memory-dump.hprof

HEALTHCHECK CMD [ "java", \
"org.exist.start.Main", "client", \
Expand Down
2 changes: 1 addition & 1 deletion expath-pkg.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<package xmlns="http://expath.org/ns/pkg" name="http://srophe.org/e-gedsh" abbrev="e-gedsh" version="1.72" spec="1.0">
<package xmlns="http://expath.org/ns/pkg" name="http://srophe.org/e-gedsh" abbrev="e-gedsh" version="1.73-prod" spec="1.0">
<title>e-gedsh</title>
<!-- eXist shared resources -->
<dependency package="http://exist-db.org/apps/shared"/>
Expand Down

0 comments on commit 8e2c35b

Please sign in to comment.