From bebf2ee4b4de75ee6492361d74b9071d4deeb7d3 Mon Sep 17 00:00:00 2001 From: Rob Austin Date: Thu, 2 Oct 2014 12:57:43 +0100 Subject: [PATCH] Update README.md --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.md b/README.md index 0e4959162..3b887968f 100644 --- a/README.md +++ b/README.md @@ -207,6 +207,21 @@ map = ChronicleMapBuilder.of(Integer.class, CharSequence.class) ``` In this example above we have set 1000 entries. +### Size of space reserved on disk + +In linux, if you looked at the size of the 'file', it will report the used entry size, so if you have just added one entry, it will report the size of this entry, however Windows it will report the reserved size which is the number-of-entries * entry-size. + +so on linux, if your type +``` +ls -l file + +// It shows you the extents. If you use + +du file + +// It shows you how much is actually used. Can you confirm you used du? +``` + ### Chronicle Map Interface The Chronicle Map interface adds a few methods above an beyond the standard ConcurrentMap, The ChronicleMapBuilder can also be used to return the ChronicleMap, see the example below :