Closed chensanle closed 2 years ago
@yhmo could u please help on this issue?
/assign @yhmo /unassign
There is a "cache_size" in the server_config.yaml, by default it is 4GB. That means the memory usage will be controled around 4GB. The cache strategy is "LRU", that means the cache will grow until it hit the 4GB limit. So, if the milvus memory usage is steadily keep around the "cache_size", than it is as-designed.
In your server_config.yaml, what value is assigned to the "cache_size"?
There is a "cache_size" in the server_config.yaml, by default it is 4GB. That means the memory usage will be controled around 4GB. The cache strategy is "LRU", that means the cache will grow until it hit the 4GB limit. So, if the milvus memory usage is steadily keep around the "cache_size", than it is as-designed.
Thanks for your reply. I probably understand. the Milvus cache_size is set to 50Gib.
768 dim, 1M rows, data size is less than 4GB. No need to set 50GB. 4 ~ 6 GB is enough.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Rotten issues close after 30d of inactivity. Reopen the issue with /reopen
.
Is there an existing issue for this?
Environment
Current Behavior
When I continue to do query operations, the memory grows uncontrollably. dim: 768; index:ivf_pq; nlist: 4096; m:12; 1M rows
Expected Behavior
No response
Steps To Reproduce
Anything else?
No response