Skip to content
CCPEDIAby Unity Nodes
App Development

How can I increase gRPC limit in daml.yaml file

3 posts355 viewsLast activity Apr 2022

  1. Dorrit_DuOP

    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

  2. cocreature

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

  3. Dorrit_Du

    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