[
https://issues.apache.org/jira/browse/QPID-2568?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12864377#action_12864377
]
Rajith Attapattu commented on QPID-2568:
----------------------------------------
I haven't looked at the code in detail, but using a WeakReference should take
care of this problem without much trouble.
> QueueEntries should release their reference to the message when they deleted
> ----------------------------------------------------------------------------
>
> Key: QPID-2568
> URL: https://issues.apache.org/jira/browse/QPID-2568
> Project: Qpid
> Issue Type: Bug
> Components: Java Broker
> Affects Versions: M2.1, M3, M4, 0.5, 0.6
> Reporter: Robbie Gemmell
> Assignee: Robbie Gemmell
> Fix For: 0.7
>
>
> The QueueEntrytImpl currently maintains its reference to the message object
> even after it is deleted. As a result, if the QE is held onto for any reason
> then the GarbageCollector is unable to reclaim the memory from the now unused
> message object.
--
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:[email protected]