You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2016/12/10 20:06:59 UTC

[jira] [Commented] (QPID-7272) [Java Broker] Direct memory QpidByteBuffer created in message conversion modules should be disposed as soon as possible after becoming unused

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

ASF subversion and git services commented on QPID-7272:
-------------------------------------------------------

Commit 1773537 from [~godfrer] in branch 'java/trunk'
[ https://svn.apache.org/r1773537 ]

QPID-7272 : Add a mechanism to dispose of byte buffers created by message conversion

> [Java Broker] Direct memory QpidByteBuffer created in message conversion modules should be disposed as soon as possible after becoming unused
> ---------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: QPID-7272
>                 URL: https://issues.apache.org/jira/browse/QPID-7272
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>    Affects Versions: qpid-java-6.0
>            Reporter: Alex Rudyy
>             Fix For: qpid-java-7.0.0
>
>
> Direct memory QpidByteBuffer in MessageConverter_to_1_0#convertServerMessage(...) is not disposed programmatically. We rely on GC to release it from memory when it became unused. There is a risk that when such QpidByteBuffers are not "garbage collected" soon enough Broker might run out of direct memory on heavy loads.
> Currently a user who relies heavily of message conversion with high rates of message flow, may see an OOM direct.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org