mirror of https://github.com/apache/activemq.git
the MESSAGE_SIZE_OVERHEAD was too low - increased it to a more realistic size
Please note - this is related to the overhead in broker memory - not the on-the-wire size - which is small git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@581882 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
5f8c101973
commit
805a0cc506
|
@ -40,7 +40,7 @@ import org.apache.activemq.wireformat.WireFormat;
|
||||||
*/
|
*/
|
||||||
public abstract class Message extends BaseCommand implements MarshallAware, MessageReference {
|
public abstract class Message extends BaseCommand implements MarshallAware, MessageReference {
|
||||||
|
|
||||||
public static final int AVERAGE_MESSAGE_SIZE_OVERHEAD = 500;
|
public static final int AVERAGE_MESSAGE_SIZE_OVERHEAD = 8 * 1024;
|
||||||
|
|
||||||
protected MessageId messageId;
|
protected MessageId messageId;
|
||||||
protected ActiveMQDestination originalDestination;
|
protected ActiveMQDestination originalDestination;
|
||||||
|
|
Loading…
Reference in New Issue