> -----Original Message----- > From: Juozas Baliuka [mailto:[EMAIL PROTECTED]] > 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 or > 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. Aaron -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
