Skip to content

Commit b47d155

Browse files
committed
Set starting Java Heap to 512mb
* still don't artifically limit max * 512 is a reasonable starting point that should improve performance & not adversely affect other processes running.
1 parent de048cc commit b47d155

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Dockerfile

+2
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,6 @@ RUN npm install
2525

2626
USER app
2727

28+
ENV JAVA_OPTS="-Xms512m"
29+
2830
CMD ["/usr/src/app/bin/duplication"]

0 commit comments

Comments
 (0)