Describe the bug
I noticed that with version 25 Dgraph allocated memory very quickly. With version 24 Dgraph's memory grows 20 GiB with a requests I'm doing, while with version 25 it grows past 40 GiB. My requests only query Dgraph, no mutations happen.
It chased the bug down to PR #9430, in v25-preview6. I'm not sure, but to me it seems the new cache never gets cleared, so this might be the reason for the memory leak.
Environment
- OS: Linux, Docker
- Dgo client v250
- Version v25.0.0