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

java.lang.OutOfMemoryError: Java heap space Exception when sending big amount(1000+) of 1M non persistent messages to broker

    XMLWordPrintableJSON

Details

    Description

      missing reference count on filepending message cursor allows unlimited messages to be loaded into the broker.
      The periodic messageExpiry task does a forced page in, that does not seem to respect a memory limit, even if it is correctly calculated.
      disabling message expiry avoids the issue.
      org.apache.activemq.broker.region.policy.PolicyEntry#expireMessagesPeriod=0

      Attachments

        Issue Links

          Activity

            People

              gtully Gary Tully
              gtully Gary Tully
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: