From ac61e46c81e248841829adfc63b1804b9df6feb1 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Wed, 6 Jul 2016 19:25:50 +0200 Subject: Cleanup --- common/storage_lmdb.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/storage_lmdb.cpp b/common/storage_lmdb.cpp index 2c0240d..352e250 100644 --- a/common/storage_lmdb.cpp +++ b/common/storage_lmdb.cpp @@ -624,9 +624,9 @@ Storage::Private::Private(const QString &s, const QString &n, AccessMode m) : st env = 0; } else { // FIXME: dynamic resize - const size_t dbSize = (size_t)10485760 * (size_t)8000; // 1MB * 8000 // In order to run valgrind this size must be smaller than half your available RAM // https://github.com/BVLC/caffe/issues/2404 + const size_t dbSize = (size_t)10485760 * (size_t)8000; // 1MB * 8000 mdb_env_set_mapsize(env, dbSize); sEnvironments.insert(fullPath, env); } -- cgit v1.2.3