Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jvm 参数设置不合理 #404

Closed
liuweiGL opened this issue Apr 23, 2024 · 0 comments · Fixed by #405
Closed

jvm 参数设置不合理 #404

liuweiGL opened this issue Apr 23, 2024 · 0 comments · Fixed by #405

Comments

@liuweiGL
Copy link
Contributor

liuweiGL commented Apr 23, 2024

k8s 有自己的资源管理,不需要 image 内部处理。现在无法设置比较小的 resources 配置,不然 container 一直 OOMKilled

- - -
JVM_XMS -Xms 默认 :1g
JVM_XMX -Xmx 默认 :1g
JVM_XMN -Xmn 默认 :512m
JVM_MS -XX:MetaspaceSize 默认 :128m
JVM_MMS -XX:MaxMetaspaceSize 默认 :320m

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant