Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-2057

Reduce the amount of memory needed by the broker when sending a large number of msgs in a single transaction

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 5.2.0
    • 5.3.2
    • Broker
    • None
    • Windows XP. Broker and client running on different machines communicating via TCP

    Description

      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.

      Attachments

        Activity

          People

            rajdavies Robert Davies
            ibeaumont Ian Beaumont
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: