[ https://issues.apache.org/jira/browse/LUCENE-1741?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12730543#action_12730543 ]
Uwe Schindler commented on LUCENE-1741: --------------------------------------- Eks Dev wrote in java-dev: bq. I have no test data which size is good, it is just trying out Sure, for this you need bad OS and large index, you are not as lucky as I am to have it :) Anyhow, I would argument against default value. An algorithm is quite simple, if you hit OOM on map(), reduce this value until it fits :) no need to touch it if it works... > 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