diff --git a/client/client_config.go b/client/client_config.go index 01f82877f7967..d0c867b7f3260 100644 --- a/client/client_config.go +++ b/client/client_config.go @@ -43,6 +43,9 @@ var DefaultGrpcOpts = []grpc.DialOption{ }, MinConnectTimeout: 3 * time.Second, }), + grpc.WithDefaultCallOptions( + grpc.MaxCallRecvMsgSize(math.MaxInt32), // math.MaxInt32 = 2147483647, 2GB - 1 + ), } // ClientConfig for milvus client.