Skip to content
This repository has been archived by the owner on Nov 27, 2018. It is now read-only.

Startup performance for JVM based apps #63

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

paolocarta
Copy link
Contributor

@paolocarta paolocarta commented Aug 14, 2018

Addresses #62

@jstrachan @rawlingsj let me know what you think about it :-).

@paolocarta paolocarta changed the title Startup performance for JVM based apps #62 Startup performance for JVM based apps issue #62 Aug 14, 2018
ENTRYPOINT exec java -Xms256m -Xmx256m -XX:MaxMetaspaceSize=128m $JAVA_OPTS -jar app.jar
Copy link
Contributor Author

@paolocarta paolocarta Aug 14, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Java 8 is not docker aware, therefore this is a workaround in order to limit heap expansion.

From my local tests I can see that a simple demo spring boot app requires around 150-200 MB of Heap.

@paolocarta paolocarta changed the title Startup performance for JVM based apps issue #62 Startup performance for JVM based apps Aug 15, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant