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

Gary Tully resolved AMQ-4930.
-----------------------------

    Resolution: Fixed

fix and test in:
http://git-wip-us.apache.org/repos/asf/activemq/commit/a64976a3

> 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.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.1.4#6159)

Reply via email to