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 2014/03/12 17:53:44 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=13931983#comment-13931983 ]
Gary Tully commented on AMQ-4930:
---------------------------------
additional fix - http://git-wip-us.apache.org/repos/asf/activemq/commit/9c247160
> 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.2#6252)