Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 84891 invoked from network); 27 Jul 2006 21:49:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 27 Jul 2006 21:49:40 -0000 Received: (qmail 26195 invoked by uid 500); 27 Jul 2006 21:49:39 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 26156 invoked by uid 500); 27 Jul 2006 21:49:39 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 26145 invoked by uid 99); 27 Jul 2006 21:49:38 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Jul 2006 14:49:38 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Jul 2006 14:49:38 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id CFE0C7141F0 for ; Thu, 27 Jul 2006 21:47:14 +0000 (GMT) Message-ID: <5998517.1154036834849.JavaMail.jira@brutus> Date: Thu, 27 Jul 2006 14:47:14 -0700 (PDT) From: "Emmanuel Lecharny (JIRA)" To: dev@directory.apache.org Subject: [jira] Reopened: (DIRSERVER-681) Memory leak in ADS ? In-Reply-To: <827397.1153643533921.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/DIRSERVER-681?page=all ] Emmanuel Lecharny reopened DIRSERVER-681: ----------------------------------------- It was not a fix ... > 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/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira