activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rajdav...@apache.org
Subject svn commit: r581882 - /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/command/Message.java
Date Thu, 04 Oct 2007 12:49:37 GMT
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;



Mime
View raw message