/java-buildpack-memory-calculator-docker

A Distroless Docker Image of the CloudFoundry Java Buildpack Memory Calculator.

Primary LanguageDockerfile

Available on Docker Hub kriskra/java-buildpack-memory-calculator.

Disclaimer: Whilst this Docker Image is open source and minimalistic, I have no affiliation with CloudFoundry, nor the the java-buildpack-memory-calculator project or authors.

Usage

Run like you would run the CloudFoundry Java Buildpack Memory Calculator. Example:

docker run --rm kriskra/java-buildpack-memory-calculator --loaded-class-count 5000 --thread-count 100 --total-memory 8G

Resulting in a calculated JVM memory profile like:

-XX:MaxDirectMemorySize=10M -XX:MaxMetaspaceSize=41992K -XX:ReservedCodeCacheSize=240M -Xss1M -Xmx7988215K

License

This Docker Image, similar to the CloudFoundry Java Buildpack Memory Calculator is Open Source software released under the Apache 2.0 license.