jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcel Reutegger (JIRA)" <j...@apache.org>
Subject [jira] Created: (JCR-450) Memory leak in UUIDDocId
Date Fri, 02 Jun 2006 07:25:29 GMT
Memory leak in UUIDDocId
------------------------

         Key: JCR-450
         URL: http://issues.apache.org/jira/browse/JCR-450
     Project: Jackrabbit
        Type: Bug

  Components: query  
    Versions: 1.0, 1.0.1, 0.9    
 Environment: r410855
    Reporter: Marcel Reutegger
 Assigned to: Marcel Reutegger 


The hierarchy cache of the search index uses DocId's to reference the parent of a Node. One
implementation of a DocId is the UUIDDocId which may hold a reference to the IndexReader that
was used to calculate the id. UUIDDocId's are invalidated on a lazy basis. That is the referenced
IndexReader may still be present even though the IndexReader instance has long been closed.

-> UUIDDocId should only hold a weak reference to the IndexReader.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message