Skip to content

Commit 41d4b15

Browse files
committed
Merge pull request #96 from codeclimate/pb-gc
Customize GC behavior differently
2 parents 5183658 + 63dde4b commit 41d4b15

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Dockerfile

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

2626
USER app
2727

28-
# starting heap, max heap
29-
ENV JAVA_OPTS="-Xms512m -Xmx1280m"
28+
ENV JAVA_OPTS="-XX:+UseParNewGC -XX:MinHeapFreeRatio=5 -XX:MaxHeapFreeRatio=10"
3029

3130
CMD ["/usr/src/app/bin/duplication"]

0 commit comments

Comments
 (0)