Over Sized Message Channel

Hi,

I have oversized message channel configured for certain actors as below.

  remote {
    artery {
      enabled = on
      transport = tcp
      large-message-destinations = [
        "/system/sharding/*",
        "/system/sharding/POI*",
        "/system/sharding/PoaManagerActor",
        "/system/sharding/OnboardAccountActor",
        "/temp/*"
      ]
    }
  }

However, I still get an error on messages over certain sizes.

Discarding oversized payload sent to Some(Actor[akka://CadmiumCluster@127.0.0.1:2552/system/sharding/POI#776997452])

Kind regards
Meeraj

The large message channel just like the regular one is not unbounded in how large messages it accepts. The limit can be configured through akka.remote.artery.advanced.maximum-large-frame-size, default is 2 MiB. Perhaps your messages are simply larger than that default and you need to configure according to your needs?