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

Michael McCandless commented on LUCENE-1741:
--------------------------------------------

I'd be more comfortable w/ 256 MB (or, smaller); I think fragmentation could 
easily cause 512MB to give the false OOM.  I don't think we'll see real perf 
costs from buffer switching unless chunk size is very small (eg < 1 MB).

In any event, Uwe can you add to the javadocs describing this false OOM problem 
and what to do if you hit it?

> Make MMapDirectory.MAX_BBUF user configureable to support chunking the index 
> files in smaller parts
> ---------------------------------------------------------------------------------------------------
>
>                 Key: LUCENE-1741
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1741
>             Project: Lucene - Java
>          Issue Type: Improvement
>    Affects Versions: 2.9
>            Reporter: Uwe Schindler
>            Assignee: Uwe Schindler
>            Priority: Minor
>             Fix For: 2.9
>
>         Attachments: LUCENE-1741.patch, LUCENE-1741.patch
>
>
> This is a followup for java-user thred: 
> http://www.lucidimagination.com/search/document/9ba9137bb5d8cb78/oom_with_2_9#9bf3b5b8f3b1fb9b
> It is easy to implement, just add a setter method for this parameter to 
> MMapDir.

-- 
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