title: Java hashmap max size of 5770?
body: <p>I was testing some file/profile transferring things today. I used a <code>HashMap</code> to store a players name and the value of there profile. However I noticed my hashmap only goes up to 5770 in  size. Why is this and how can I fix it?</p>
  
  <pre><code>HashMap&lt;String, String&gt; temp = new HashMap&lt;String, String&gt;();
  for(String s : dataFile.getConfigurationSection("users").getKeys(false)) {
          temp.put(s, dataFile.getString("users." + s + ".group"));
  }
  </code></pre>
  
  <p>That's what i'm using to grab the player and their "group".</p>