Skip to content

JvmSettings for cassandra #364

@MJ11FS

Description

@MJ11FS

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))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions