: On Wed, 2007-12-12 at 11:37 +0100, Lars Clausen wrote:

: Seems there's a reason we still use all this memory:
: SegmentReader.fakeNorms() creates the full-size array for us anyway, so
: the memory usage cannot be avoided as long as somebody asks for the
: norms array at any point.  The solution is starting to look like a patch

Minor (late) nit:  fakeNorms will reuse the same array for every field 
that doesn't have norms -- so while omiting norms from only one field may 
not save you any RAM, omiting norms for 10 fields will save you the RAM 
used by 9 of those fields.  (correct?)


-Hoss


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

Reply via email to