Skip to content
This repository was archived by the owner on Mar 21, 2025. It is now read-only.
This repository was archived by the owner on Mar 21, 2025. It is now read-only.

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

Open
@ThreadDao

Description

@ThreadDao

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions