[ 
https://issues.apache.org/jira/browse/AMQ-4930?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hadrian Zbarcea updated AMQ-4930:
---------------------------------

    Fix Version/s: 5.9.1

> java.lang.OutOfMemoryError: Java heap space Exception when sending big 
> amount(1000+) of 1M non persistent messages to broker
> ----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AMQ-4930
>                 URL: https://issues.apache.org/jira/browse/AMQ-4930
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.9.0
>            Reporter: Gary Tully
>            Assignee: Gary Tully
>              Labels: FilePendingMessageCursor, OOM, nonPersistent
>             Fix For: 5.9.1, 5.10.0
>
>
> 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



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to