I just ran the code you provided. On my puny PowerBook (Mac OS X 10.3.5) it dies in much less than 5 minutes.

I do not know what the issue is, but certainly the actions the program is taking are atypical. Opening and closing an IndexWriter repeatedly is certainly expensive on large indexes. Indexing documents in batches is more typical, I presume.

Also, maybe you need to put some sleep into the code to give the JVM a chance to catch its breath? Does that alleviate the issue?

        Erik


On Nov 10, 2004, at 8:02 PM, [EMAIL PROTECTED] wrote:

I added it to Bugzilla like you suggested:
http://issues.apache.org/bugzilla/show_bug.cgi?id=32171


Let me know if you see any way to get around this issue.

--- Lucene
Users List" <[EMAIL PROTECTED] wrote:
Whoops!  Looks like my
attachment didn't make it through.  I'm
re-attaching my simple test app.


Thanks.

--- Erik Hatcher <[EMAIL PROTECTED]> wrote:


On Nov 10, 2004, at 5:48 PM, [EMAIL PROTECTED]

wrote:
Hi,

With the information provided, I have no

idea what the issue
may be.

Is there some information
that I should post that will help
determine
why Lucene is giving
me this error?

You mentioned posting code - though I don't recall
getting an
attachment. If you could post it as a Bugzilla issue with

your code
attached, it would be preserved outside of our mailboxes.
If
the code
is self-contained enough for me to try it, I will
at some
point in the
near future.

        Erik




---------------------------------------------------------------------

To unsubscribe, e-mail:
[EMAIL PROTECTED]

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





---------------------------------------------------------------------

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



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


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



Reply via email to