lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eks dev <eks...@yahoo.co.uk>
Subject Re: [jira] Updated: (LUCENE-1741) Make MMapDirectory.MAX_BBUF user configureable to support chunking the index files in smaller parts
Date Mon, 13 Jul 2009 15:30:12 GMT

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




----- Original Message ----
> From: Uwe Schindler (JIRA) <jira@apache.org>
> To: java-dev@lucene.apache.org
> Sent: Monday, 13 July, 2009 17:21:15
> Subject: [jira] Updated: (LUCENE-1741) Make MMapDirectory.MAX_BBUF user configureable
to support chunking the index files in smaller parts
> 
> 
>      [ 
> https://issues.apache.org/jira/browse/LUCENE-1741?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

> ]
> 
> Uwe Schindler updated LUCENE-1741:
> ----------------------------------
> 
>     Attachment: LUCENE-1741.patch
> 
> Attached is a patch using the JRE_IS_64BIT in Constants. I set the default to 
> 256 MiBytes (128 seems to small for large indexes, if the index is e.g. about 
> 1.5 GiBytes, you would get 6 junks.
> 
> I have no test data which size is good, it is just trying out (and depends e.g. 
> on how often you reboot Windows, as Eks said).
> 
> > 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-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-dev-help@lucene.apache.org



      

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message