Madan Jampani

MapDBLog: Enadling mmap file support (if platform supports it. currently only su…

…pported on 64bit JVMs). Fixes a problem described here: http://tinyurl.com/klgc36c
...@@ -52,6 +52,7 @@ public class MapDBLog implements Log { ...@@ -52,6 +52,7 @@ public class MapDBLog implements Log {
52 public void open() throws IOException { 52 public void open() throws IOException {
53 txMaker = DBMaker 53 txMaker = DBMaker
54 .newFileDB(dbFile) 54 .newFileDB(dbFile)
55 + .mmapFileEnableIfSupported()
55 .cacheSize(cacheSize) 56 .cacheSize(cacheSize)
56 .makeTxMaker(); 57 .makeTxMaker();
57 } 58 }
......