diff --git a/README.md b/README.md index 972b13432..ca2af9b5d 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ Hello world: ```java //import org.mapdb.* DB db = DBMaker.memoryDB().make(); -ConcurrentMap map = db.hashMap("map").make(); +ConcurrentMap map = db.hashMap("map").createOrOpen(); map.put("something", "here"); ``` @@ -61,4 +61,4 @@ Longer unit tests might require more memory. Use this to increase heap memory as By default unit tests are executed in 3 threads. Thread count is controlled by `-DtestThreadCount=3` property -On machine with limited memory you can change fork mode so unit test consume less RAM, but run longer: `-DtestReuseForks=false` \ No newline at end of file +On machine with limited memory you can change fork mode so unit test consume less RAM, but run longer: `-DtestReuseForks=false`