directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <j...@apache.org>
Subject [jira] Closed: (DIRSERVER-680) NPE when using 0 size cache
Date Sat, 29 Jul 2006 23:55:14 GMT
     [ http://issues.apache.org/jira/browse/DIRSERVER-680?page=all ]

Emmanuel Lecharny closed DIRSERVER-680.
---------------------------------------

    Resolution: Fixed

A efensive test has been added. If a null or negative cache size is used, then the default
cache value is used (100)

> NPE when using 0 size cache
> ---------------------------
>
>                 Key: DIRSERVER-680
>                 URL: http://issues.apache.org/jira/browse/DIRSERVER-680
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: 1.0-RC3
>            Reporter: Emmanuel Lecharny
>            Priority: Minor
>
> When the cache properties are set to a null size (0), you get a NPE when launching the
server. It seems that 1 is the minimum size for a MRU cache to be initialized.
> Note that it makes no sense to create null sized caches, as it kills the performance
(injecting 10 000 entries take around 3 hours :)
> It was just done to check for memory leaks.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message