07-30-06 12:11 AM
[ http://issues.apache.org/jira/brows...ER-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, th
en 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 l
aunching 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 p
erformance (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://iss
ues.apache.org/ji...nistrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[ Post a follow-up to this message ]
|