Should I set a MaxMetaspaceSize?

前端 未结 3 694
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-05 09:44

So, after asking this question, it quickly became clear that the important question was not \"how can I\", but \"should I\"?

We have customers that we are moving fro

3条回答
  •  自闭症患者
    2020-12-05 10:32

    Answer from @eckes comments:

    i would set a maximum which is large enough to not trigger in normal situations. The reason I say this is, that a system might act very erratic and hard to control if native memory gets exhausted or wild swapping happens. Much worse than a OOM or Java freeze. For example using 2GB (epecting a system to have 2gb buffers free at minimum)

提交回复
热议问题