client_stub = pydgraph.DgraphClientStub(dgraph_server,options=[(‘grpc.max_receive_message_length’, 102410241024)])
I set grpc.max_receive_message_length to 102410241024, but my query result is larger than this size. I try to increase max_receive_message_length even larger, but the following error occurs:
OverflowError: value too large to convert to int
Is there any solution?
1024*1024*1024 is 1GB. The maximum int value is about 2GB if you are in a 32-bit system. Are you in a 32-bit system?
What other values did you try?
I am in a 64-bit system. I tried 2048x1024x1024, but got OverflowError: value too large to convert to int error. @martinmr
Sorry, for the late reply.
I think the int range in C goes until 2^31 - 1. Basically, the value you tried minus one.
Also, are you making queries that return lots of results. Otherwise you should not need something like this.