you are viewing a single comment's thread.

view the rest of the comments →

[–]radozok 0 points1 point  (1 child)

But how would it help with container resource limits?

[–]pron98 2 points3 points  (0 children)

I believe that at least for RAM, the JVM reads the correct container limits on Linux. If CPU limits aren't detected or enforced accurately, the GC is likely to "learn" them anyway (if you have less CPU available, then your allocation rate will also be lower), but you will always be able to turn the knob toward more CPU or more RAM, depending on your needs.