jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting (JIRA)" <j...@apache.org>
Subject [jira] Updated: (JCR-1041) Avoid using BitSets in ChildAxisQuery to minimize memory usage
Date Wed, 21 Nov 2007 10:47:43 GMT

     [ https://issues.apache.org/jira/browse/JCR-1041?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jukka Zitting updated JCR-1041:
-------------------------------

          Component/s: jackrabbit-core
    Affects Version/s:     (was: 1.3)

> Avoid using BitSets in ChildAxisQuery to minimize memory usage
> --------------------------------------------------------------
>
>                 Key: JCR-1041
>                 URL: https://issues.apache.org/jira/browse/JCR-1041
>             Project: Jackrabbit
>          Issue Type: Improvement
>          Components: jackrabbit-core, query
>            Reporter: Christoph Kiehl
>            Assignee: Christoph Kiehl
>             Fix For: 1.4
>
>         Attachments: avoid_using_bitsets.patch
>
>
> When doing ChildAxisQueries on large indexes the internal BitSet instance (hits) may
consume a lot of memory because the BitSet is always as large as IndexReader.maxDoc(). In
our case we had a query consisting of 7 ChildAxisQueries which combined to a total of 14MB.
Since we have multiple users executing this query simultaneously this caused an out of memory
error.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message