qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (QPID-7272) [Java Broker] Direct memory QpidByteBuffer created in message conversion modules should be disposed as soon as possible after becoming unused
Date Sat, 10 Dec 2016 20:06:59 GMT

    [ 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


Mime
View raw message