lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <>
Subject [jira] Commented: (LUCENE-1995) ArrayIndexOutOfBoundsException during indexing
Date Mon, 19 Oct 2009 21:36:59 GMT


Michael McCandless commented on LUCENE-1995:

That's a nice large RAM buffer :)

bq. Mike - I think keeping the signed shift is the right thing to do... a zero-cost check
against silent corruption.

Ahh good point, OK we'll keep it as is.

bq. But I'm not sure if 2048MiB is safe either

2048 probably won't be safe, because a large doc just as the buffer is filling up could still
overflow.  (Though, RAM is also used eg for norms, so you might squeak by).

I'll update the javadocs to note the limitation!

> ArrayIndexOutOfBoundsException during indexing
> ----------------------------------------------
>                 Key: LUCENE-1995
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: Index
>    Affects Versions: 2.9
>            Reporter: Yonik Seeley
>             Fix For: 2.9.1

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:
For additional commands, e-mail:

View raw message