Apache Directory Project - [jira] Closed: (DIRSERVER-680) NPE when using 0 size cache

This is Interesting: Free IT Magazines  
Home > Archive > Apache Directory Project > July 2006 > [jira] Closed: (DIRSERVER-680) NPE when using 0 size cache





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author [jira] Closed: (DIRSERVER-680) NPE when using 0 size cache
Emmanuel Lecharny (JIRA)

2006-07-29, 7:11 pm

[ 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, 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/secur...nistrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com