activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Bain <tb...@alumni.duke.edu>
Subject Re: Failed to page in more queue messages
Date Wed, 07 Sep 2016 06:18:29 GMT
The purpose of producer flow control is to prevent the broker from running
out of memory when you try to store more messages than the JVM can hold.
So your options seem to be:

   1. Turn on PFC.  This will prevent more messages from being published
   once you hit the limits enforced by PFC.
   2. Speed up your consumers, to ensure that you don't have more messages
   than your JVM heap can hold.
   3. Increase your JVM heap.

Tim

On Mon, Aug 29, 2016 at 10:50 AM, enes.caglar <enescaglar_@hotmail.com>
wrote:

> Hi,
>
> When I am trying to send byte messages to the queue, i received the
> following exception. After that point producer was not able to send new
> messages to the queue. I am sending messages each 20 MB and total 100
> messages. Probably it reached to the max memory usage. But messages are
> persistent messages so I expect from activemq to save the previous messages
> to disk and continue to process new incoming messages. Any idea how to fix
> the problem , except increasing the heap size ? Is this the default
> behavior
> of activemq ?
>
> PS:I have disabled producerFlowControl. Other configs are activemq default
> configs.
>
> Thank you.
>
> ERROR | Failed to page in more queue messages
> java.lang.OutOfMemoryError: Java heap space
>
>
>
> --
> View this message in context: http://activemq.2283324.n4.
> nabble.com/Failed-to-page-in-more-queue-messages-tp4715894.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message