• Post Reply Bookmark Topic Watch Topic
  • New Topic

HashMap size  RSS feed

 
Ranch Hand
Posts: 1489
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is the maximum HashMap capacity ? If I store millions of keys and values within the same HashMap will throw OutOfMemeoryError ?
 
Ranch Hand
Posts: 131
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i think it will depend on the available meomry in heap of JVM...
 
Marshal
Posts: 56600
172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is a similar question here.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!