Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 83678 invoked from network); 4 Sep 2009 18:59:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 4 Sep 2009 18:59:58 -0000 Received: (qmail 2384 invoked by uid 500); 4 Sep 2009 18:59:58 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 2339 invoked by uid 500); 4 Sep 2009 18:59:58 -0000 Mailing-List: contact dev-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 dev@activemq.apache.org Received: (qmail 2287 invoked by uid 99); 4 Sep 2009 18:59:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Sep 2009 18:59:58 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Sep 2009 18:59:55 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 0270E234C4BA for ; Fri, 4 Sep 2009 11:59:14 -0700 (PDT) Message-ID: <2133810111.1252090753954.JavaMail.jira@brutus> Date: Fri, 4 Sep 2009 11:59:13 -0700 (PDT) From: "Rob Davies (JIRA)" To: dev@activemq.apache.org Subject: [jira] Updated: (AMQ-2057) Reduce the amount of memory needed by the broker when sending a large number of msgs in a single transaction In-Reply-To: <1183921925.1231495679348.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: ae95407df07c98740808b2ef9da0087c X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/AMQ-2057?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rob Davies updated AMQ-2057: ---------------------------- Fix Version/s: 5.4.0 > Reduce the amount of memory needed by the broker when sending a large number of msgs in a single transaction > ------------------------------------------------------------------------------------------------------------ > > Key: AMQ-2057 > URL: https://issues.apache.org/activemq/browse/AMQ-2057 > Project: ActiveMQ > Issue Type: Improvement > Components: Broker > Affects Versions: 5.2.0 > Environment: Windows XP. Broker and client running on different machines communicating via TCP > Reporter: Ian Beaumont > Fix For: 5.4.0 > > > I'm trying to queue a large number of messages in a single transaction. It seems that the broker needs to have enough heap space available to store all these messages to in memory at one time before I can commit the transaction. > I have set producerFlowControl to false. > I'm looking at ActiveMQ as a replacement for MQSeries - and in MQSeries the messages in the transaction would be written to the store as they came in, and then if the transaction was then rolled back they would then be removed. It appears that the messages in ActiveMQ are not placed in to the store unitl the transaction is commited. Ideally they should be put in the store as they come in, but marked as uncommitted. > Sorry if my understanding of how things are working is wrong, but I've posted a few messages on the subject and have had no replies. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.