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] Created: (DIRSERVER-680) NPE when using 0 size cache
Date Sat, 22 Jul 2006 12:27:13 GMT
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