[ 
https://issues.apache.org/jira/browse/QPID-1658?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12672735#action_12672735
 ] 

Rafael H. Schloming commented on QPID-1658:
-------------------------------------------

This should be fixed on trunk now. By default the session replay buffer is 
limited to either 65536 commands or 1Mb worth of commands whichever comes 
first. You can control the policy via the two system properties 
qpid.session.byte_limit and qpid.session.command_limit.

> JMS client OutOfMemoryError when sending 4k messages in rapid succession
> ------------------------------------------------------------------------
>
>                 Key: QPID-1658
>                 URL: https://issues.apache.org/jira/browse/QPID-1658
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Client
>    Affects Versions: M4
>         Environment: Ubuntu 8.04 Hardy
>            Reporter: Douglas Pew
>            Assignee: Rafael H. Schloming
>         Attachments: Consumer.java, Producer.java
>
>
> The JMS bindings will throw an OutOfMemoryError when sending 4k or larger 
> messages in rapid succession.  The message producer's heap will continue to 
> fill up until exhausted.
> To repeat this error  edit the class 
> org.apache.qpid.example.jmsexample.direct.Producer to produce 100000 messages 
> and 4k message sizes.  I will submit source code.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscr...@qpid.apache.org

Reply via email to