lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 32847] - IndexWriter.addIndexes results in java.lang.OutOfMemoryError
Date Tue, 01 Feb 2005 21:14:13 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=32847>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=32847





------- Additional Comments From cutting@apache.org  2005-02-01 22:14 -------
Created an attachment (id=14156)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=14156&action=view)
patch to reduce memory requirements of segment merger

Okay.  I see the problem.  You have over 159 indexed fields in over 5M
documents, which, if norms are cached, requires over 700MB.

I've attached a patch which fixes segment merging to not use cached access to
the norms.  Please try this and tell me how it works.

You will still have trouble searching this index in a 700MB JVM if you search
all of the fields.

Doug

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-dev-help@jakarta.apache.org


Mime
View raw message