Return-Path: Delivered-To: apmail-db-derby-user-archive@www.apache.org Received: (qmail 93049 invoked from network); 1 Jun 2006 08:16:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 1 Jun 2006 08:16:03 -0000 Received: (qmail 37591 invoked by uid 500); 1 Jun 2006 08:15:59 -0000 Delivered-To: apmail-db-derby-user-archive@db.apache.org Received: (qmail 37513 invoked by uid 500); 1 Jun 2006 08:15:59 -0000 Mailing-List: contact derby-user-help@db.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Reply-To: "Derby Discussion" Delivered-To: mailing list derby-user@db.apache.org Received: (qmail 37473 invoked by uid 99); 1 Jun 2006 08:15:58 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Jun 2006 01:15:58 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [192.18.1.36] (HELO gmpea-pix-1.sun.com) (192.18.1.36) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Jun 2006 01:15:56 -0700 Received: from d1-emea-05.sun.com ([192.18.2.115]) by gmpea-pix-1.sun.com (8.12.9/8.12.9) with ESMTP id k518FY4x003720 for ; Thu, 1 Jun 2006 09:15:34 +0100 (BST) Received: from conversion-daemon.d1-emea-05.sun.com by d1-emea-05.sun.com (Sun Java System Messaging Server 6.2-4.02 (built Sep 9 2005)) id <0J0600J018TU5D00@d1-emea-05.sun.com> (original mail from John.Embretsen@Sun.COM) for derby-user@db.apache.org; Thu, 01 Jun 2006 09:15:34 +0100 (BST) Received: from [129.159.112.236] by d1-emea-05.sun.com (Sun Java System Messaging Server 6.2-4.02 (built Sep 9 2005)) with ESMTPSA id <0J0600HUG9LTKB20@d1-emea-05.sun.com> for derby-user@db.apache.org; Thu, 01 Jun 2006 09:15:34 +0100 (BST) Date: Thu, 01 Jun 2006 10:15:28 +0200 From: John Embretsen Subject: Re: [MEMORY]Free memory In-reply-to: <1149109266.7786.40.camel@localhost.localdomain> Sender: John.Embretsen@Sun.COM To: Derby Discussion Reply-to: Derby Discussion Message-id: <447EA220.3080803@Sun.COM> MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=ISO-8859-1 Content-transfer-encoding: 7BIT References: <1149083766.7786.12.camel@localhost.localdomain> <447DA317.1050103@amberpoint.com> <1149086620.7786.14.camel@localhost.localdomain> <1149109266.7786.40.camel@localhost.localdomain> User-Agent: Thunderbird 1.5.0.2 (X11/20060427) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N yves pielusenet wrote: > Here is two screenshoots of jmp (Java Memory Profiler). My application > create 10 derby database (2 by 2). > So before when I didn't shutdown database (look at the Heap size = > 63.5MB) : > http://narma.free.fr/depot/sansShutdown.png > > And now when I shutdown databases (I draw red arrow each times 2 > databases are shutdown (at the same time)): > http://narma.free.fr/depot/avecShutdown.png > > It is the same application and the second screen shoot has been taken > more longer after then the first. So I save ~40M :c) Interesting graphs... I have not used JMP before (but similar tools); so would you mind telling us what exactly the gray, pink and green colors represent in your screenshots? I am assuming that the x-axis represents time and that the y-axis represents bytes (heap usage and/or capacity). Also, which JVM version/vendor are you using, and which version of Derby? -- John