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 [EMAIL PROTECTED]  2005-01-23 01:28 -------
I just executed the following test case in a 700M VM and had the same outcome. 
See details below.

In this test case, the sum of the input directories was ~42G and the amount 
written to
'dest' directory is ~41G. This pattern is reliably repeatable. That is, it 
looks like the merge works,
but the failure happens at the very end.

If I open 'dest' directory and call docCount I get 0.

>>>>>>>>> revised code >>>>>>>>>>>

        ...
        Directory dest = FSDirectory.getDirectory( destination, true);

        IndexWriter writer = new IndexWriter( dest, new StandardAnalyzer(), 
true);
        writer.addIndexes( sources);

        log("here"); //never prints to screen

        writer.close();
        dest.close();

>>>>>>>>> inputs >>>>>>>>>>>

6.3G    ./index0/index
5.9G    ./index1/index
6.0G    ./index2/index
5.2G    ./index3/index
5.4G    ./index4/index
3.8G    ./index5/index
4.0G    ./index6/index
5.3G    ./index7/index

>>>>>>>>> output on screen >>>>>>>>>>>

>>> merging: ./index0/index
>>> merging: ./index1/index
>>> merging: ./index2/index
>>> merging: ./index3/index
>>> merging: ./index4/index
>>> merging: ./index5/index
>>> merging: ./index6/index
>>> merging: ./index7/index
Exception in thread "main" java.lang.OutOfMemoryError

>>>>>>>>> destination directory stats >>>>>>>>>>>

41G     ./merged.0000/index





-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to