Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Default grpc received message size 4194304(4MB) is too small #831

Open
1 task done
ThreadDao opened this issue Oct 16, 2024 · 1 comment
Open
1 task done
Assignees

Comments

@ThreadDao
Copy link
Contributor

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Query and output 1000 1536-dim vectors failed:

2024/10/16 16:30:25 Failed to query Milvus:rpc error: code = ResourceExhausted desc = grpc: received message larger than max (6153075 vs. 4194304)

User need to upgrade grpc.MaxCallRecvMsgSize. Maybe go sdk should a default MAX value. Java sdk is 2Gb, pymilvus is -1

milvusClient, err := client.NewGrpcClient(ctx, "localhost:19530", grpc.WithDefaultCallOptions(grpc.MaxCallRecvMsgSize(67108864)))

Expected Behavior

No response

Steps To Reproduce

No response

Environment

No response

Anything else?

No response

@ThreadDao
Copy link
Contributor Author

/assign @congqixia

congqixia added a commit to congqixia/milvus-sdk-go that referenced this issue Oct 17, 2024
congqixia added a commit to congqixia/milvus that referenced this issue Oct 17, 2024
sre-ci-robot pushed a commit to milvus-io/milvus that referenced this issue Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants