my dog learned polymorphism*
The moose likes Java in General and the fly likes Doubt with softreference Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Doubt with softreference" Watch "Doubt with softreference" New topic
Author

Doubt with softreference

PavanPL KalyanK
Ranch Hand

Joined: Feb 28, 2009
Posts: 212

The sun specification states that use the softreference to avoid OOM error .

I am having query regarding the usage of softreference . I googled but coudn't find any example on how to use this .


[/code]
Fernando Mendez
Greenhorn

Joined: Jun 06, 2004
Posts: 10
In this page => http://www.codase.com/search/call?owner=java.lang.ref.SoftReference , you will find real world implementations samples of it. Hope it helps.
PavanPL KalyanK
Ranch Hand

Joined: Feb 28, 2009
Posts: 212
Thanks , Fernando
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Doubt with softreference