Description
The documentation for optimizing Weaviate performance mentions setting the GOMEMLIMIT
env variable on Weaviate replicas to 10-20% of the total memory available on the host.
However, there is a blog post where it’s set to ~45% of the max RAM.
What factor am I actually looking at here to know how to set that optimally? Based on what’s said in that article (I may be misunderstanding), I would assume that I’d set it to close to the max RAM available, with a buffer of maybe 10%.
I’m also running Weaviate in a very controlled K8s environment where each replica gets its own node, so there are no other processes or anything involved. I suspect that also contributes to the recommendation.
Server Setup Information
- Weaviate Server Version: 1.26.6
- Deployment Method: k8s
- Multi Node? Number of Running Nodes: 3
- Client Language and Version: N/A
- Multitenancy?: No