6 Replies Latest reply on Dec 17, 2013 7:08 AM by Andy Taylor

    max-size-bytes not being honored

    Dave Marion Newbie

      Looking for some help on where I am going wrong with configuration. See my other post about message counters, this one is about the max-size-bytes configuration parameter. It seems in 2.3.0.Final it is not being honored. I wrote up another example (see attached), it can be run with 'mvn verify'. In this example I set the max-size-bytes parameter to 10Mb. Then, I send 50 1Mb messages to the queue with an address full policy of DROP. The message counter goes to 50 and my consumer receives all 50. This is an example of what I am seeing on my project. I set the max-size-bytes to about 7/8 of the JVM heap size and I am continually running into an OOME. Any help would be appreciated.