GRPC error of Resource exhausted while searching #38638
Unanswered
rsrs2013
asked this question in
Q&A and General discussion
Replies: 2 comments 1 reply
-
By default, the limitation for RPC transferring:
The limitation is defined in the milvus.yaml:
If the "output_fields" contains vector field name and long-length varchar field name, the returned data size might be larger than 256MB then you will get this error. You can change the milvus.yaml to enlarge the limitation. Just note, the max size of a single RPC message is 2GB, which is hard code limited by protobuf. |
Beta Was this translation helpful? Give feedback.
0 replies
-
less nq, or less topk and less output fields. 64M is already too large and you can not retrieve that large result set in one rpc |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have inserted the SIFT 1M dataset into milvus. It has 128 dimensional vectors. Then I am searching the top - 5k vectors in it. I have created the IVF_PQ index as below. I am getting Resource exhausted error when searching the vectors. The below is the error.
what is the way around ? Thanks in advance.
I am able to set TOP_K limit until 4k. But for 5k, it fails. I have done batch inserting. Also in the discussions, I could only see GRPC error while inserting and couldn't find a discussion about the error during the search.
I have used the below code to search.
Beta Was this translation helpful? Give feedback.
All reactions