|
Home > Archive > Apache Directory Project > July 2006 > [jira] Closed: (DIRSERVER-681) Memory leak in ADS ?
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-681) Memory leak in ADS ?
|
|
| Emmanuel Lecharny (JIRA) 2006-07-27, 7:11 pm |
| [ http://issues.apache.org/jira/brows...ER-681?page=all ]
Emmanuel Lecharny closed DIRSERVER-681.
---------------------------------------
Resolution: Invalid
Ok, now, the definitive status is correct
> Memory leak in ADS ?
> --------------------
>
> Key: DIRSERVER-681
> URL: http://issues.apache.org/jira/browse/DIRSERVER-681
> Project: Directory ApacheDS
> Issue Type: Bug
> Affects Versions: 1.0-RC3
> Reporter: Emmanuel Lecharny
> Priority: Blocker
>
> When doing thousands of searches, at a point, the memory get exhausted, and the server stop to deliver responses.
> The first bet is that we have a memory leak somwhere. Using yourkit shows that the heap increase continuously while search requests are being processed.
> However, I have done an extensive test whith all cache set to 1, and launched an heavy test (100 000 random search requests over a 10 000 entries base), with a Heap size set to 25 M, and everything is running fast (even if it's slow).
> So the second bet would be that cache setting is to big in regard to the allocated memory, and we just exhaust memory using too much cache.
> I will try to do a 12H test with 1 sized cache tonite, and a 48H test with 100 sized cache on tuesday and wenesday, to check which hypothese is the good one (hope the second will be it .
--
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
| |
| Ole Ersoy 2006-07-27, 7:11 pm |
| Emmanuel,
It would be really interesting to see what Jester
would do with ADS:
http://jester.sourceforge.net/
I'm going to start experimenting with it soon, but I
thought I'd throw it out there for the sake of
awareness.
Cheers,
- Ole
--- "Emmanuel Lecharny (JIRA)" <jira-1oDqGaOF3Lkdnm+yROfE0A@public.gmane.org>
wrote:
> [
>
http://issues.apache.org/jira/brows...ER-681?page=all
> ]
>
> Emmanuel Lecharny closed DIRSERVER-681.
> ---------------------------------------
>
> Resolution: Invalid
>
> Ok, now, the definitive status is correct
>
> http://issues.apache.org/jira/browse/DIRSERVER-681
> memory get exhausted, and the server stop to deliver
> responses.
> somwhere. Using yourkit shows that the heap increase
> continuously while search requests are being
> processed.
> cache set to 1, and launched an heavy test (100 000
> random search requests over a 10 000 entries base),
> with a Heap size set to 25 M, and everything is
> running fast (even if it's slow).
> to big in regard to the allocated memory, and we
> just exhaust memory using too much cache.
> tonite, and a 48H test with 100 sized cache on
> tuesday and wenesday, to check which hypothese is
> the good one (hope the second will be it .
>
> --
> 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
>
>
>
________________________________________
__________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
| |
| Emmanuel Lecharny 2006-07-27, 7:11 pm |
| Ole Ersoy a écrit :
>Emmanuel,
>
>It would be really interesting to see what Jester
>would do with ADS:
>
>http://jester.sourceforge.net/
>
>I'm going to start experimenting with it soon, but I
>thought I'd throw it out there for the sake of
>awareness.
>
>Cheers,
>- Ole
>
>
This seems a good idea ! But be aware that we have around 7500 java
files, and less the 1400 tests. So there is quite a chance that we don't
have a 1:1 ratio 
As soon as you discover that only 1/6th of the code is tested, you will
have to write the missing 6100 tests (supposing that each class is
tested by only one test ;)
Emmanuel
| |
| Ole Ersoy 2006-07-28, 1:11 am |
| Excellent - I'll work on the 6100 tests tonight and
try out Jester tomorrow :-)
--- Emmanuel Lecharny <elecharny-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> Ole Ersoy a écrit :
>
> I
> This seems a good idea ! But be aware that we have
> around 7500 java
> files, and less the 1400 tests. So there is quite a
> chance that we don't
> have a 1:1 ratio 
>
> As soon as you discover that only 1/6th of the code
> is tested, you will
> have to write the missing 6100 tests (supposing that
> each class is
> tested by only one test ;)
>
> Emmanuel
>
________________________________________
__________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
|
|
|
|
|