Mongodb memory usage k8s eks


We are using mongodb bitnami chart version 14.13.0 (application v7.0.6) as ReplicaSet in our EKS env, at the beginning mongo consumed near 2G memory per replica but now it grow to 8G memory per replica.
We used

  • “–wiredTigerCacheSizeGB=2”

We were with mongodb bitnami chart version 13.9.0 and experienced the same issues and this is why we upgraded the version but there is no change, mongo mem consumption is growing.

Any idea how to fix that issue?