Bugfix?
This commit is contained in:
parent
b5e5cc3142
commit
477932e051
2
pom.xml
2
pom.xml
@ -4,7 +4,7 @@
|
|||||||
<groupId>it.cavallium</groupId>
|
<groupId>it.cavallium</groupId>
|
||||||
<artifactId>filequeue</artifactId>
|
<artifactId>filequeue</artifactId>
|
||||||
<name>file queue project</name>
|
<name>file queue project</name>
|
||||||
<version>3.1.2</version>
|
<version>3.1.3</version>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
<description>Light weight, high performance, simple, reliable and persistent queue</description>
|
<description>Light weight, high performance, simple, reliable and persistent queue</description>
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
@ -49,10 +49,10 @@ public class LMDBEnvManager {
|
|||||||
|
|
||||||
private static Env<byte[]> open(File path) {
|
private static Env<byte[]> open(File path) {
|
||||||
return Env.create(ByteArrayProxy.PROXY_BA)
|
return Env.create(ByteArrayProxy.PROXY_BA)
|
||||||
// 16GiB
|
// 128GiB
|
||||||
.setMapSize(16L * 1024 * 1024 * 1024)
|
.setMapSize(128L * 1024 * 1024 * 1024)
|
||||||
.setMaxReaders(1024)
|
.setMaxReaders(1024)
|
||||||
.setMaxDbs(1024)
|
.setMaxDbs(1024)
|
||||||
.open(path, EnvFlags.MDB_FIXEDMAP, EnvFlags.MDB_NOSYNC, EnvFlags.MDB_WRITEMAP);
|
.open(path, EnvFlags.MDB_NOSYNC);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user