On Mon, May 5, 2008 at 11:35 PM, Robert Hailey <[EMAIL PROTECTED]> wrote: > On May 4, 2008, at 5:20 AM, Daniel Cheng wrote: > > > On Sun, May 4, 2008 at 2:40 AM, Matthew Toseland > > <[EMAIL PROTECTED]> wrote: > >> On Friday 02 May 2008 17:06, [EMAIL PROTECTED] wrote: > >>> Author: j16sdiz > >>> Date: 2008-05-02 16:06:08 +0000 (Fri, 02 May 2008) > >>> New Revision: 19685 > >>> > >>> Modified: > >>> trunk/freenet/src/freenet/store/BerkeleyDBFreenetStore.java > >>> Log: > >>> revert r19683, it just doesn't work > >> > >> Why not? > >> > > > > The getCacheSize() always give 0. > > > I think Toad just said zero meant unlimited. Maybe that is the very > bug you are chasing, it is using unlimited memory?
javadoc say setCacheSize(0) would use getCachePrecent() % of Runtime#getMaxMemory(). _______________________________________________ Devl mailing list [email protected] http://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl
