Over Sized Message Channel


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

  remote {
    artery {
      enabled = on
      transport = tcp
      large-message-destinations = [

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

Discarding oversized payload sent to Some(Actor[akka://CadmiumCluster@])

Kind regards

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?