[
https://issues.apache.org/jira/browse/QPID-2466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12852439#action_12852439
]
Andrew Kennedy commented on QPID-2466:
--------------------------------------
The -XX:SoftRefLRUPolicyMSPerMB=<value> option controls how old soft references
must be before they are freed by the GC, measured in milliseconds per MB of
free space available. The default is 1000 and tests indicate this is too large
and will result in softly reachable (ie, evictable) cache objects filling up
the heap and causing out of memory errors. Suggested values for this option are
1 or 10.
> Replace WeakReference use with SoftReference for enhanced message caching
> -------------------------------------------------------------------------
>
> Key: QPID-2466
> URL: https://issues.apache.org/jira/browse/QPID-2466
> Project: Qpid
> Issue Type: Improvement
> Components: Java Broker
> Affects Versions: 0.6
> Environment: JVM 1.6.0_18
> Reporter: Andrew Kennedy
> Assignee: Robbie Gemmell
> Fix For: 0.7
>
> Attachments:
> 0001-QPID-2466-Replace-WeakReference-use-with-SoftRefere.patch,
> 0001-QPID-2466-trunk.patch
>
>
> Replace use of WeakReference with SoftReference in the message handles in the
> broker to improve message cache performance when using a persistent store.
> Also tuning the eviction policy for soft references and evaluation of other
> GC settings.
--
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]