Return-Path: Delivered-To: apmail-db-derby-user-archive@www.apache.org Received: (qmail 17631 invoked from network); 22 May 2006 18:34:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 22 May 2006 18:34:14 -0000 Received: (qmail 43667 invoked by uid 500); 22 May 2006 18:34:13 -0000 Delivered-To: apmail-db-derby-user-archive@db.apache.org Received: (qmail 43507 invoked by uid 500); 22 May 2006 18:34:12 -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 43496 invoked by uid 99); 22 May 2006 18:34:12 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 May 2006 11:34:12 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [212.27.42.27] (HELO smtp1-g19.free.fr) (212.27.42.27) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 May 2006 11:34:11 -0700 Received: from lns-bzn-22-82-249-94-153.adsl.proxad.net (lns-bzn-22-82-249-94-153.adsl.proxad.net [82.249.94.153]) by smtp1-g19.free.fr (Postfix) with ESMTP id BE4C49AE0A for ; Mon, 22 May 2006 20:33:50 +0200 (CEST) Subject: Re: [MEMORY] Derby full fill my the JVM memory From: yves pielusenet To: Derby Discussion In-Reply-To: <4471F616.5040901@gmail.com> References: <1148313606.7209.13.camel@localhost.localdomain> <4471F616.5040901@gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Date: Mon, 22 May 2006 20:38:23 +0200 Message-Id: <1148323103.7209.26.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.4.2.1 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N How thank you I didn't see this answer before. therefore, It seems complicated :c\ Le lundi 22 mai 2006 � 10:34 -0700, Stanley Bradbury a �crit : > yves pielusenet wrote: > > >Hello, > >I have this error : java.lang.OutOfMemoryError: Java heap space > >So I used a profiler to see what was wrong. I have very lots of object > >of that classes : > >org.apache.derby.impl.store.raw.data.StoreRecordHeader > >org.apache.derby.impl.store.raw.data.RecordId > >(I can't find those classes into derby javadoc :c( ) > > > > > ==== SNIP === > > Yes, record headers are objects created when a page is brought into the > cache. The maxHeap to pageCache ratio I talked about in my previous > message accounts for these and the many other objects created to support > the activities of the Derby database engine. > > Please see the information in my response to your previous post (Iterate > over big table...) and if you are still having problems after increasing > the ratio of the JVM-maximum-Heap to Derby-pageCache please post the > ratio you are using and the settings for maxHeap and pageCache. > > In case you missed the reply the archive of message can be viewed at: > http://www.nabble.com/forum/ViewPost.jtp?post=4476273 > > HTH > >