Skip to content

Memory usage is high when indexes are loaded #40704

Discussion options

You must be logged in to vote

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.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@YolandaLyj
Comment options

@yhmo
Comment options

yhmo Mar 18, 2025
Collaborator

@YolandaLyj
Comment options

Answer selected by YolandaLyj
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants