by tbrock · 4y ago · 0 comments
https://developers.redhat.com/articles/2022/04/19/java-17-wh...
I think I'd prefer 2. But 1 will always remain an option I suppose.
And on the other hand, it's a simple flag. They added one memory flag in over a decade. I think they're holding the line on complexity pretty well?
1. runtime feature to limit memory use
2. a mechanism to configure it
What we just don't have yet is
3. standard way to read container memory limit
Once that comes to existence, the first two were gonna be needed anyway. And now you can experiment with #3 for the various container runtimes.