During query execution the queriers RAM go up as expected, however after the results were returned to grafana the RAM doesn’t go down. When running the exact query again the RAM maintains its value.
I’m running Loki on a vm deployment.
I’m assuming (but not sure) that queriers keep chunks for queries in memory and never get rid of it.
Loki was meant to be deployed in kubernetees where a memory limit is much easier to enforce on a container. When a container shuts down due to an OOM another one quickly takes its place. So never getting rid of chunks in memory makes sense I guess, however I don’t have the ability to deploy Loki in kubernetees and looking for a solution fitting to a vm deployment.
Any help would be greatly appreciated.