This commit is contained in:
Andrea Cavalli 2022-11-09 16:56:48 +01:00
parent b5e5cc3142
commit 477932e051
2 changed files with 4 additions and 4 deletions

View File

@ -4,7 +4,7 @@
<groupId>it.cavallium</groupId>
<artifactId>filequeue</artifactId>
<name>file queue project</name>
<version>3.1.2</version>
<version>3.1.3</version>
<packaging>jar</packaging>
<description>Light weight, high performance, simple, reliable and persistent queue</description>
<modelVersion>4.0.0</modelVersion>

View File

@ -49,10 +49,10 @@ public class LMDBEnvManager {
private static Env<byte[]> open(File path) {
return Env.create(ByteArrayProxy.PROXY_BA)
// 16GiB
.setMapSize(16L * 1024 * 1024 * 1024)
// 128GiB
.setMapSize(128L * 1024 * 1024 * 1024)
.setMaxReaders(1024)
.setMaxDbs(1024)
.open(path, EnvFlags.MDB_FIXEDMAP, EnvFlags.MDB_NOSYNC, EnvFlags.MDB_WRITEMAP);
.open(path, EnvFlags.MDB_NOSYNC);
}
}