stevespringett / nist-data-mirror

A simple Java command-line utility to mirror the CVE JSON data from NIST.
Apache License 2.0
206 stars 93 forks source link

Respect Docker memory limits #26

Closed emanuelbuholzer closed 5 years ago

emanuelbuholzer commented 5 years ago

When using the provided Docker image, the JVM isn't aware of the provided CGroup limits set by Docker. This change tells Java to respect the given limits.

See: https://blogs.oracle.com/java-platform-group/java-se-support-for-docker-cpu-and-memory-limits

stevespringett commented 5 years ago

Thanks for the PR