On Mon, May 5, 2008 at 11:35 PM, Robert Hailey
<robert at freenetproject.org> wrote:
>  On May 4, 2008, at 5:20 AM, Daniel Cheng wrote:
>
>  > On Sun, May 4, 2008 at 2:40 AM, Matthew Toseland
>  > <toad at amphibian.dyndns.org> wrote:
>  >> On Friday 02 May 2008 17:06, j16sdiz at freenetproject.org 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().

Reply via email to