[ 
https://issues.apache.org/jira/browse/LUCENE-1995?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12767564#action_12767564
 ] 

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: https://issues.apache.org/jira/browse/LUCENE-1995
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: Index
>    Affects Versions: 2.9
>            Reporter: Yonik Seeley
>             Fix For: 2.9.1
>
>
> http://search.lucidimagination.com/search/document/f29fc52348ab9b63/arrayindexoutofboundsexception_during_indexing

-- 
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: java-dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-dev-h...@lucene.apache.org

Reply via email to