1 Reply Latest reply on Aug 10, 2010 5:24 PM by johnnysoccer

    Unable to move messages

    johnnysoccer

      I am running HornetQ 2.1.1.Final

       

      I have a durable queue which has 97273 messages and 31 paging files associated with it.

      There are not currently any consumers attached to the queue

      When I attempt to move all messages (via jconsole) in this queue to another queue (unfiltered so that all the messages in memory will be moved) I get a result that 0 messages moved.

       

      Is there a reason these messages would not be moved?

      This is something we have done quite a bit in 2.0.0.GA

       

      thanks,

      John

        • 1. Re: Unable to move messages
          johnnysoccer

          As a follow-up, I restarted HornetQ and attempted to move the messages again, this time I received an OutOfMemory Exception. Memory usage went from less than 1/2 a Gigabyte and spiked to 2.5 Gigabytes before the Exception was thrown.

           

          I tried again, and a portion of the messages moved (6508 messages). I've now run moveMessages several more times, and each time it moves 6508 messages.

           

          Ultimately, what is the expected behavior of moveMessages with a large number of messages?

           

          thanks,

          John