Skip to content
CCPEDIAby Unity Nodes
Discussions/App Development/How can I increase gRPC limit in daml.yaml fileForum ↗

How can I increase gRPC limit in daml.yaml file

App Development3 posts331 viewsLast activity Apr 2022
DO
Dorrit_DuOP
Apr 2022

Hi team,

In Daml 2.0, how can I increase gRPC limit in daml.yaml file?

I am currently getting below error: “io.grpc.StatusRuntimeException: RESOURCE_EXHAUSTED: gRPC message exceeds maximum size 4194304: 5612223”

thanks,
Dorrit

CO
cocreature
Apr 2022

Where do you see that error? on the ledger, in daml studio, somewhere else?

DO
Dorrit_Du
Apr 2022

It was from the sandbox running locally but now all good after I added json-api-options param in daml.yaml file. Thanks @cocreature

Here is the details I put in daml.yaml.
json-api-options:

  • –max-inbound-message-size=6000000
← Back to Discussions