Uploaded image for project: 'AMQ Broker'
  1. AMQ Broker
  2. ENTMQBR-6536

The OpenWire protocol triggers an OutOfMemoryError on large messages (200K body, bellow 500K journal-buffer-size)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Major Major
    • None
    • AMQ 7.9.3.GA
    • None
    • False
    • None
    • False
    • Release Notes, Compatibility/Configuration, User Experience
    • Hide
      1. Please configure the AMQ 7.9.3 broker with journal-buffer-size at 2048000
      2. Configure a client to send messages having a header weight of 1000 and a payload of 350000 characters.
      3. The broker would encounter an OOME.  The broker.xml and the reproducer would be attached shortly.
      4. Please make sure to customise the broker.xml to set the corresponding broker URL and the user credentials.
      Show
      Please configure the AMQ 7.9.3 broker with journal-buffer-size at 2048000 Configure a client to send messages having a header weight of 1000 and a payload of 350000 characters. The broker would encounter an OOME.  The broker.xml and the reproducer would be attached shortly. Please make sure to customise the broker.xml to set the corresponding broker URL and the user credentials.

      The max-size-bytes value has been set to -1 in the address-setting configuration property, prompting the broker to utilise the default global-max-size value. The broker would use 50% of the allocated JVM heap by default.

      However, the broker encountered an OutOfMemoryError instead of paging while using the OpenWire protocol to send messages.

      The journal-buffer-size had been set to 2048000 to allow messages with large header data.

        1. fuse-artemis-test-master.tar.bz2
          13 kB
        2. broker.xml
          11 kB
        3. error.text
          5 kB
        4. broker-1.xml
          12 kB
        5. Screen Shot 2022-04-22 at 9.09.34 AM.png
          Screen Shot 2022-04-22 at 9.09.34 AM.png
          528 kB
        6. Screen Shot 2022-04-27 at 3.35.01 PM.png
          Screen Shot 2022-04-27 at 3.35.01 PM.png
          397 kB

              rhn-support-jbertram Justin Bertram
              rhn-support-tywickra Tyronne Wickramarathne
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: