On Thu, Sep 8, 2011 at 8:17 PM, Martin Strand <[email protected]> wrote:
> In Oracle's JDK, unused SoftReferences are kept alive for 1 second per > available MB of heap space: > > http://www.oracle.com/technetwork/java/hotspotfaq-138619.html#gc_softrefs > > e.g. with 120 MB free, a SoftReference that is never used will still be > around for another two minutes. That will clearly cause some race in a busy-tight-constraints-resource box and here we often use small (1 or 2 GB) virtual servers for all sort of things, nice to see that's a tuneable value. Thanks for the reference. -- Massimo http://meridio.blogspot.com --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
