Issue Details (XML | Word | Printable)

Key: DIRSERVER-681
Type: Bug Bug
Status: Closed Closed
Resolution: Invalid
Priority: Blocker Blocker
Assignee: Unassigned
Reporter: Emmanuel Lecharny
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Directory ApacheDS

Memory leak in ADS ?

Created: 23/Jul/06 08:30 AM   Updated: 27/Jul/06 09:46 PM
Return to search
Component/s: None
Affects Version/s: 1.0-RC3
Fix Version/s: None

Time Tracking:
Not Specified

Resolution Date: 27/Jul/06 09:46 PM


 Description  « Hide
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 :).

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
No work has yet been logged on this issue.