How weak and soft reference work http://www.javaspecialists.co.za/archive/Issue098.html Issue about weakhashmap - http://blogs.azulsystems.com/cliff/2007/08/why-weakhashmap.html When soft reference clean? - http://jeremymanson.blogspot.com/2009/07/how-hotspot-decides-to-clear_07.html