Issue with Hash Map Space
问题 In my Java code, I am using Guava's Multimap (com.google.common.collect.Multimap) by using this: Multimap<Integer, Integer> Index = HashMultimap.create() Here, Multimap key is some portion of a URL and value is another portion of the URL (converted into an integer). Now, I assign my JVM 2560 Mb (2.5 GB) heap space (by using Xmx and Xms). However, it can only store 9 millions of such (key,value) pairs of integers (approx 10 million). Now, issue is, I can provide JVM only limited amount of