Return-Path: Delivered-To: apmail-activemq-commits-archive@www.apache.org Received: (qmail 58979 invoked from network); 4 Oct 2007 12:50:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Oct 2007 12:50:28 -0000 Received: (qmail 22177 invoked by uid 500); 4 Oct 2007 12:50:18 -0000 Delivered-To: apmail-activemq-commits-archive@activemq.apache.org Received: (qmail 22152 invoked by uid 500); 4 Oct 2007 12:50:18 -0000 Mailing-List: contact commits-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list commits@activemq.apache.org Received: (qmail 22143 invoked by uid 99); 4 Oct 2007 12:50:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Oct 2007 05:50:17 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Oct 2007 12:50:28 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 31EF61A9832; Thu, 4 Oct 2007 05:49:38 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 -0000 To: commits@activemq.apache.org From: rajdavies@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20071004124938.31EF61A9832@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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;