@Test
public void testIssue26() throws IOException {
LMDBFactory.pushMemoryPool(1024 * 512);
try {
LMDBOptions options = new LMDBOptions();
options.createIfMissing(true);
options.openFlags(NOSYNC); // this test would run too slow without this.
LMDB db = (LMDB) factory.open(getTestDirectory(getName()), options);
WriteOptions op = new WriteOptions();
for (int i = 0; i < 1024 * 100; i++) {
byte[] key = ByteBuffer.allocate(4).putInt(i).array();