From jackrabbit-dev-return-5496-apmail-incubator-jackrabbit-dev-archive=www.apache.org@incubator.apache.org Mon Feb 06 10:29:54 2006 Return-Path: Delivered-To: apmail-incubator-jackrabbit-dev-archive@www.apache.org Received: (qmail 72378 invoked from network); 6 Feb 2006 10:29:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 6 Feb 2006 10:29:53 -0000 Received: (qmail 67050 invoked by uid 500); 6 Feb 2006 10:29:52 -0000 Mailing-List: contact jackrabbit-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jackrabbit-dev@incubator.apache.org Delivered-To: mailing list jackrabbit-dev@incubator.apache.org Received: (qmail 67039 invoked by uid 99); 6 Feb 2006 10:29:52 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Feb 2006 02:29:52 -0800 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: 193.19.192.5 is neither permitted nor denied by domain of the.mindstorm.mailinglist@gmail.com) Received: from [193.19.192.5] (HELO mail.evolva.ro) (193.19.192.5) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Feb 2006 02:29:51 -0800 Received: (qmail 86297 invoked by uid 1013); 6 Feb 2006 10:29:28 -0000 Received: from 86.55.40.139 by mail.evolva.ro (envelope-from , uid 89) with qmail-scanner-1.25 (clamdscan: 0.87.1/1244. Clear:RC:1(86.55.40.139):. Processed in 0.0926 secs); 06 Feb 2006 10:29:28 -0000 Received: from unknown (HELO ?192.168.62.51?) (alexandru.popescu@evolva.ro@86.55.40.139) by mail.evolva.ro with AES256-SHA encrypted SMTP; 6 Feb 2006 10:29:28 -0000 Message-ID: <43E724FE.7070205@gmail.com> Date: Mon, 06 Feb 2006 12:29:18 +0200 From: Alexandru Popescu User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051201 Thunderbird/1.5 Mnenhy/0.7.3.0 MIME-Version: 1.0 To: jackrabbit-dev@incubator.apache.org Subject: Re: OutOfMemory while running tests References: <43E4896F.8070405@gmail.com> <43E70D46.8070801@gmx.net> <43E71832.1050709@gmail.com> <43E7213E.9000509@gmx.net> In-Reply-To: <43E7213E.9000509@gmx.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed 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 #: Marcel Reutegger changed the world a bit at a time by saying (astral date: 2/6/2006 12:13 PM) :# > according to your logs shutdown seems to work fine. > > did you try to simply increase the heap space for the jvm? maybe your > settings are just to low for the test cases you are running... > > regards > marcel > Instead of tweaking the JVM (I would like to consider this the last solution), I would like to find out if I can organize somehow else the tests so that the problem doesn't show. ./alex -- .w( the_mindstorm )p. > Alexandru Popescu wrote: >> After each call to RegistryHelper.unregisterRepository(ctx, >> repositoryName) I can see in the console: >> >> [log] >> DEBUG: invalidated item cafebabe-cafe-babe-cafe-babecafebabe >> DEBUG: invalidated item cafebabe-cafe-babe-cafe-babecafebabe >> DEBUG: removing item cafebabe-cafe-babe-cafe-babecafebabe from cache >> DEBUG: removing item cafebabe-cafe-babe-cafe-babecafebabe from cache >> INFO: Notification of EventListeners stopped. >> INFO: Notification of EventListeners stopped. >> DEBUG: dispose IndexMerger >> DEBUG: dispose IndexMerger >> INFO: IndexMerger terminated >> INFO: IndexMerger terminated >> DEBUG: quit sent >> DEBUG: quit sent >> DEBUG: IndexMerger thread stopped >> DEBUG: IndexMerger thread stopped >> DEBUG: merge queue size: 0 >> DEBUG: merge queue size: 0 >> INFO: Index closed: .\target\repository\workspaces\default/index >> INFO: Index closed: .\target\repository\workspaces\default/index >> DEBUG: removing EventListener: >> org.apache.jackrabbit.core.SearchManager@610a39 >> DEBUG: removing EventListener: >> org.apache.jackrabbit.core.SearchManager@610a39 >> DEBUG: removing EventListener: >> org.apache.jackrabbit.core.lock.LockManagerImpl@112f348 >> DEBUG: removing EventListener: >> org.apache.jackrabbit.core.lock.LockManagerImpl@112f348 >> DEBUG: removing EventListener: >> org.apache.jackrabbit.core.RepositoryImpl@99d1df >> DEBUG: removing EventListener: >> org.apache.jackrabbit.core.RepositoryImpl@99d1df >> INFO: Database '.\target\repository\workspaces\default/db' shutdown. >> INFO: Database '.\target\repository\workspaces\default/db' shutdown. >> INFO: Database './target/repository/version/db' shutdown. >> INFO: Database './target/repository/version/db' shutdown. >> [/log] >> >> so I would say that the close operation is correctly triggered and even >> better it works as expected. Still, the exception occurs. >> >> I would say that it looks like a problem on Derby releasing the >> resources, but I would like to be sure that this has nothing to do with >> SimpleDbPersistenceManager. > >