We have set up Dgraph on EKS. we have loaded ~220GB of data on alpha and took r5a.8xlarge ec2 i.e 256GB ram.
it is showing 210GB cache memory on Grafana and actually, only 4.9 GB is used out of 256GB.
what is this cache memory? I have checked the documentation as well Dgraph internally not supported cache. link (https://dgraph.io/docs/graphql/queries/cached-results/#:~:text=When%20cached%20results%20are%20enabled,delivery%20network%20(CDN)%20level.)
each alpha is on a different ec2 server. we have a total of 5 alphas and facing the same issue in every instance.
below are the screenshot of both.
Grafana (ec2 server stats):-
Alpha Memory Stats:-
AWS console:-