You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ra...@apache.org on 2007/10/04 14:49:37 UTC
svn commit: r581882 -
/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/command/Message.java
Author: rajdavies
Date: Thu Oct 4 05:49:37 2007
New Revision: 581882
URL: http://svn.apache.org/viewvc?rev=581882&view=rev
Log:
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
Modified:
activemq/trunk/activemq-core/src/main/java/org/apache/activemq/command/Message.java
Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/command/Message.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/command/Message.java?rev=581882&r1=581881&r2=581882&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/command/Message.java (original)
+++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/command/Message.java Thu Oct 4 05:49:37 2007
@@ -40,7 +40,7 @@
*/
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 ActiveMQDestination originalDestination;