title: Getting Map size on memory(RAM)
body: <p>I am using a HashMap to cache some important data when my application starts.<br/>
  This cache sometime grows and then reduced. I want to know how much memory it is taking on RAM.<br/>
  Is it possible to get memory taken by a map in KB? Is there any API?</p>