[
https://issues.apache.org/jira/browse/JCR-3185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13180351#comment-13180351
]
Thomas Mueller commented on JCR-3185:
-------------------------------------
Loading the whole list in memory will run out of memory in many cases.
The call isn't supposed to block other operations (specially for DataStore
garbage collection).
Many persistence manager implementations can't return the exact size()
(specially, but not only because the call is non-blocking).
Therefore the easiest solution is to revert the change, and don't log the size.
Or add a method getNumberOfBundlesEstimate() or so.
> refactor consistency checks in BundleDBPersistenceManager into a standalone
> class that could be re-used for other PMs
> ---------------------------------------------------------------------------------------------------------------------
>
> Key: JCR-3185
> URL: https://issues.apache.org/jira/browse/JCR-3185
> Project: Jackrabbit Content Repository
> Issue Type: Task
> Components: jackrabbit-core
> Reporter: Julian Reschke
> Assignee: Julian Reschke
> Priority: Minor
> Attachments: JCR-3185.diff
>
>
> see subject
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira