Open saw303 opened 2 months ago
Ooh thanks for the heads-up - this'd certainly make memory limit more flexible.
I need to do more research - sounds like there are a couple of container-specific memory options we can include into cmdline.
But I'm not sure which ones to use, and how they interact with the default -Xms
and -Xmx
settings...
If you (or anyone) have any idea I'd love to hear from you!
Notes:
java -X 2>&1|less
- mem helpMax memory = [-Xmx] + [-XX:MaxPermSize] + number_of_threads * [-Xss]
Sonatype provides Docker images running on Java 11 instead of Java 8. Java 11 is much more Docker-aware than Java 8 (JVM 8 is actually completely container unaware). It would be nice to have Java 11 ARM images.