1. Disable RocksDB memory mapped files on Windows (details)
Commit ae096ed67bc9397de44beffbf5575322d8fb7f60 by groldan
Disable RocksDB memory mapped files on Windows
Allowing MMapped files on Windows for rocksdb produces the following
error when inserting a large (>1M) objects through putAll():
org.rocksdb.RocksDBException: IO error: Failed to FlushViewOfFile:
.../000015.sst: The process cannot access the file because another
process has locked a portion of the file. at
org.rocksdb.RocksDB.write0(Native Method) ~[rocksdbjni-4.11.2.jar:na] at
org.rocksdb.RocksDB.write( ~[rocksdbjni-4.11.2.jar:na]
(Note: DBoptions.setAllowOsBuffer(true) is removed since it defaults to
true anyways and it's removed in rocksdb 5.x)
Signed-off-by: Gabriel Roldan <>
The file was modifiedsrc/core/src/main/java/org/locationtech/geogig/model/internal/
The file was modifiedsrc/storage/rocksdb/src/main/java/org/locationtech/geogig/rocksdb/