You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Gary Tully (JIRA)" <ji...@apache.org> on 2013/12/20 14:44:11 UTC

[jira] [Reopened] (AMQ-4930) java.lang.OutOfMemoryError: Java heap space Exception when sending big amount(1000+) of 1M non persistent messages to broker

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

Gary Tully reopened AMQ-4930:
-----------------------------


regression in org.apache.activemq.broker.jmx.MBeanTest - we are not attempting to page in max messages.

> 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)