|
|
|
|
|
by foxylion
3169 days ago
|
|
I don't get it. When you limit the memory of the java process it will be a _lot_ lower. A spring boot server can be started with -Xmx64m. Setting the memory limit to 200mb is more than enough to prevent OOM kills in Kubernetes. We run many spring boot services in that way. With absolutely no issues. Edit: just checked it, -Xmx32m is also usable. |
|
That would have required the author to read the manual and think about their problem for a few minutes, which is much less fun than justifying their already-formed preference after the fact.