Memory usage is high when indexes are loaded #40704
-
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Loading data incurs some memory overhead due to additional copying and serialization/deserialization processes. Here are some suggestions to reduce memory consumption during loading: Reduce segment size – This can lower memory usage but may also impact query performance after loading. |
Beta Was this translation helpful? Give feedback.
-
BTW, if you are using standalone, maybe the memory is consumed by index building and flush compaction, then we can not do too much about it |
Beta Was this translation helpful? Give feedback.
Loading data incurs some memory overhead due to additional copying and serialization/deserialization processes. Here are some suggestions to reduce memory consumption during loading:
Reduce segment size – This can lower memory usage but may also impact query performance after loading.
Adjust load concurrency – Tuning the concurrency level can help balance memory usage and performance.
Lower the pod memory limit – When Milvus reaches the memory limit, it dynamically reduces load concurrency to prevent excessive memory usage.
Upgrade to Milvus 2.5.6 – This version includes optimizations for memory and CPU efficiency during loading, with more improvements planned in future releases.