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

QueueBrowser ignoring MemoryUsage and Causing Heap Space Error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Incomplete
    • 5.8.0
    • None
    • Broker
    • All

    Description

      Use of QueueBrowser without destination memory limits causes AMQ to run out of heap space. Retrieving QueueBrowser elements appears to ignore global MemoryUsage and default browsePageSize of 200. Install default 5.8.0 binary distro. Create 5000 persistent messages in queue and browse to see contents . Shutdown, and change the queue policy entry so that it doesn't limit the destination memory(remove memoryLimit="1mb"). Startup broker, and attempt to view the same 5000 entries. This time the results will not be limited and the broker will run out of heap space. Same occurs if using QueueBrowser programmatically. Works in previous versions as results were limited by page size.

      May be related to-

      https://issues.apache.org/jira/browse/AMQ-4181?page=com.atlassian.jirafisheyeplugin:fisheye-issuepanel

      Attachments

        Activity

          People

            Unassigned Unassigned
            omnibot2k John Stall
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: