You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "David Smiley (JIRA)" <ji...@apache.org> on 2014/03/16 05:49:44 UTC
[jira] [Updated] (LUCENE-2832) on Windows 64-bit, maybe we should
default to a better maxBBufSize in MMapDirectory
[ https://issues.apache.org/jira/browse/LUCENE-2832?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Smiley updated LUCENE-2832:
---------------------------------
Fix Version/s: (was: 4.7)
4.8
> on Windows 64-bit, maybe we should default to a better maxBBufSize in MMapDirectory
> -----------------------------------------------------------------------------------
>
> Key: LUCENE-2832
> URL: https://issues.apache.org/jira/browse/LUCENE-2832
> Project: Lucene - Core
> Issue Type: Improvement
> Components: core/store
> Reporter: Robert Muir
> Assignee: Robert Muir
> Fix For: 4.8
>
> Attachments: LUCENE-2832.patch
>
>
> Currently the default max buffer size for MMapDirectory is 256MB on 32bit and Integer.MAX_VALUE on 64bit:
> {noformat}
> public static final int DEFAULT_MAX_BUFF = Constants.JRE_IS_64BIT ? Integer.MAX_VALUE : (256 * 1024 * 1024);
> {noformat}
> But, in windows on 64-bit, you are practically limited to 8TB. This can cause problems in extreme cases, such as: http://www.lucidimagination.com/search/document/7522ee54c46f9ca4/map_failed_at_getsearcher
> Perhaps it would be good to change this default such that its 256MB on 32Bit *OR* windows, but leave it at Integer.MAX_VALUE
> on other 64-bit and "64-bit" (48-bit) systems.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org