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
Showing
1 changed file
with
1 additions
and
0 deletions
... | @@ -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 | } | ... | ... |
-
Please register or login to post a comment