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

JvmSettings for cassandra #364

Open
MJ11FS opened this issue Apr 7, 2020 · 0 comments
Open

JvmSettings for cassandra #364

MJ11FS opened this issue Apr 7, 2020 · 0 comments

Comments

@MJ11FS
Copy link

MJ11FS commented Apr 7, 2020

Issue:
The way JVM xmx and xms are calculated limits each Cassandra container to 25% of memory defined in cdc.Spec.Resources.Limits.Memory().Value(). If we set container requests and limits to 10G our cassandra container will be only set with 2.5G of mem. Why is the value so low?

jvmHeapSize := maxInt64(minInt64(memoryLimit/2, GIBIBYTE), minInt64(memoryLimit/4, 8*GIBIBYTE))

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

No branches or pull requests

1 participant