From 744b67ef68dfeccdd4b0424257a75dcd652d25e9 Mon Sep 17 00:00:00 2001 From: Roman Leventov Date: Sat, 11 Apr 2015 18:12:37 +0700 Subject: [PATCH] Update README.md --- README.md | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/README.md b/README.md index e78d9d40d..eded1ec69 100644 --- a/README.md +++ b/README.md @@ -1244,16 +1244,7 @@ j net.openhft.collections.AbstractVanillaSharedHashMap$Segment.lock()V+12 ##### When Chronicle Map is Full -It will throw this exception : - -```java -Caught: java.lang.IllegalStateException: VanillaShortShortMultiMap is full -java.lang.IllegalStateException: VanillaShortShortMultiMap is full - at net.openhft.collections.VanillaShortShortMultiMap.nextPos(VanillaShortShortMultiMap.java:226) - at net.openhft.collections.AbstractVanillaSharedHashMap$Segment.put(VanillaSharedHashMap.java:834) - at net.openhft.collections.AbstractVanillaSharedHashMap.put0(VanillaSharedHashMap.java:348) - at net.openhft.collections.AbstractVanillaSharedHashMap.put(VanillaSharedHashMap.java:330) -``` +`IllegalStateException` is thrown. ChronicleMap doesn't resize automatically. It is assumed you will make the virtual size of the map larger than you need and it will handle this reasonably efficiently. With the default settings you