When the index has more than 1 segment, norms take 2 bytes of RAM per norm not 1
--------------------------------------------------------------------------------

                 Key: LUCENE-1023
                 URL: https://issues.apache.org/jira/browse/LUCENE-1023
             Project: Lucene - Java
          Issue Type: Bug
          Components: Index
    Affects Versions: 2.2, 2.1, 2.0.0, 1.9, 2.0.1, 2.3
            Reporter: Michael McCandless
            Assignee: Michael McCandless
            Priority: Minor


When norms are loaded for an index with multiple segments,
MultiSegmentReader caches a byte array for all norms (concatenated
from all segments), and SegmentReader also caches a byte array for its
norms.  I think MultiSegmentReader should somehow tell SegmentReader
not cache its own norms.  For a large index this will save quite a bit
of memory (1 byte per document per field-with-norms).

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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to