Skip to content

Commit

Permalink
limit java memory
Browse files Browse the repository at this point in the history
  • Loading branch information
steveww committed Aug 23, 2018
1 parent 034596f commit 4ef9f2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shipping/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ ENV DB_HOST=mysql

COPY --from=build /opt/shipping/target/shipping-1.0-jar-with-dependencies.jar shipping.jar

CMD [ "java", "-jar", "shipping.jar" ]
CMD [ "java", "-Xmn256m", "-Xmx768m", "-jar", "shipping.jar" ]

0 comments on commit 4ef9f2a

Please sign in to comment.