This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problems in executing a reverseHashMap progam

 
vidu mayur
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all
I was trying to reverse a HashMap and it compiled fine. When I executed it, it gave me a java.lang.OutOfMemoryError. Then, I restarted the PC and tried executintg other working programs/this program, the process never ends. I want to execute other programs now. Please help me!
P.S: If you want to look at the code which caused all this, please see below

Thanks in advance
 
vidu mayur
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all
I found the error. The list didn't have any values in it.
Thanks
Vidu
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic