diff options
author | Bernard Normier <bernard@zeroc.com> | 2015-11-23 17:33:30 -0500 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2015-11-23 17:33:30 -0500 |
commit | 06214c65a8fd5029382ce1c7dacfdce7fb836329 (patch) | |
tree | 7d6f27a457ef01c0bea2d2c6af8b9384513f1a01 /cpp/src/IceGrid/Database.cpp | |
parent | Re-applied fix for removal of sql reference in test/IceStorm/repgrid applicat... (diff) | |
download | ice-06214c65a8fd5029382ce1c7dacfdce7fb836329.tar.bz2 ice-06214c65a8fd5029382ce1c7dacfdce7fb836329.tar.xz ice-06214c65a8fd5029382ce1c7dacfdce7fb836329.zip |
The default LMDB map size for IceGrid and IceStorm is now 10MB (Windows)
and 100MB (Linux, OS X)
Diffstat (limited to 'cpp/src/IceGrid/Database.cpp')
-rw-r--r-- | cpp/src/IceGrid/Database.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/IceGrid/Database.cpp b/cpp/src/IceGrid/Database.cpp index cfdfbb58b8e..75624feb9e4 100644 --- a/cpp/src/IceGrid/Database.cpp +++ b/cpp/src/IceGrid/Database.cpp @@ -213,7 +213,7 @@ Database::Database(const Ice::ObjectAdapterPtr& registryAdapter, _serverCache(_communicator, _instanceName, _nodeCache, _adapterCache, _objectCache, _allocatableObjectCache), _dbLock(_communicator->getProperties()->getProperty("IceGrid.Registry.LMDB.Path") + "/icedb.lock"), _env(_communicator->getProperties()->getProperty("IceGrid.Registry.LMDB.Path"), 8, - _communicator->getProperties()->getPropertyAsInt("IceGrid.Registry.LMDB.MapSize") * 1024 * 1024), + IceDB::getMapSize(_communicator->getProperties()->getPropertyAsInt("IceGrid.Registry.LMDB.MapSize"))), _pluginFacade(RegistryPluginFacadeIPtr::dynamicCast(getRegistryPluginFacade())), _lock(0) { |