Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@apache.org Received: (qmail 42445 invoked from network); 17 Jan 2002 07:37:12 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 17 Jan 2002 07:37:12 -0000 Received: (qmail 14049 invoked by uid 97); 17 Jan 2002 07:37:23 -0000 Delivered-To: qmlist-jakarta-archive-commons-dev@jakarta.apache.org Received: (qmail 14030 invoked by uid 97); 17 Jan 2002 07:37:22 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 14019 invoked from network); 17 Jan 2002 07:37:22 -0000 Message-Id: <5.0.2.1.0.20020117093446.00b91a88@mail.mediaworks.lt> X-Sender: baliuka@mail.mediaworks.lt X-Mailer: QUALCOMM Windows Eudora Version 5.0.2 Date: Thu, 17 Jan 2002 09:45:05 +0100 To: "Jakarta Commons Developers List" From: Juozas Baliuka Subject: RE: [simplestore] enhancements (was: [simplestore] inital check in) In-Reply-To: <003801c19f17$3d6fb600$0100a8c0@realpulse.com> References: <5.0.2.1.0.20020116162819.02f4be50@mail.mediaworks.lt> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N > >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. I believe your OS does this job "Virtual Memory Management", no JVM no JAVA application must do this. It is impossible for OS to do this if JVM allocates not moveable memory, I believe it don't. I think it is not very meaningful to dublicate OS functionality in JAVA application, It can be meaningful if single application with single thread runs on your machine. -- To unsubscribe, e-mail: For additional commands, e-mail: