@@ -942,17 +942,18 @@ akka {
942942
943943 # Size of the send queue for outgoing control messages, such as system messages.
944944 # If this limit is reached the remote system is declared to be dead and its UID
945- # marked as quarantined.
946- # The trade-off of using a larger queue size is that it consumes more memory,
947- # since the queue is based on preallocated array with fixed size .
948- outbound-control-queue-size = 3072
945+ # marked as quarantined. Note that there is one such queue per outbound association.
946+ # It is a linked queue so it will not use more memory than needed but by increasing
947+ # too much you may risk OutOfMemoryError in the worst case .
948+ outbound-control-queue-size = 20000
949949
950950 # Size of the send queue for outgoing large messages. Messages will be dropped if
951951 # the queue becomes full. This may happen if you send a burst of many messages
952952 # without end-to-end flow control. Note that there is one such queue per
953- # outbound association. The trade-off of using a larger queue size is that
954- # it consumes more memory, since the queue is based on preallocated array with
955- # fixed size.
953+ # outbound association.
954+ # It is a linked queue so it will not use more memory than needed but by increasing
955+ # too much you may risk OutOfMemoryError, especially since the message payload
956+ # of these messages may be large.
956957 outbound-large-message-queue-size = 256
957958
958959 # This setting defines the maximum number of unacknowledged system messages
0 commit comments