commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron Smuts" <>
Subject RE: [simplestore] enhancements (was: [simplestore] inital check in)
Date Thu, 17 Jan 2002 05:24:29 GMT

> -----Original Message-----
> From: Juozas Baliuka []
> Sent: Wednesday, January 16, 2002 10:44 AM
> I think methods like "memory.overflow()" has no meaning in JAVA.
> You will never implement the best memory manager in JAVA application
> Application container, because
> JVM + GC will be better :).
> Use java.lang.ref.* there is no better way in JAVA at this time.
When the number of items reaches a set maximum, I'd like to remove the
reference to them from the hashtable and spool them to disk.  Reaching
the set item number limit, the cache should overflow onto disk.  It is a
rough swap that's all.  

This technique doesn't endlessly leak memory.


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message