Return-Path: Delivered-To: apmail-db-derby-user-archive@www.apache.org Received: (qmail 25706 invoked from network); 15 Nov 2005 18:13:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 15 Nov 2005 18:13:19 -0000 Received: (qmail 13690 invoked by uid 500); 15 Nov 2005 18:13:15 -0000 Delivered-To: apmail-db-derby-user-archive@db.apache.org Received: (qmail 13576 invoked by uid 500); 15 Nov 2005 18:13:15 -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 13512 invoked by uid 99); 15 Nov 2005 18:13:14 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Nov 2005 10:13:14 -0800 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=NO_REAL_NAME,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of Harrus@gmx.de designates 213.165.64.20 as permitted sender) Received: from [213.165.64.20] (HELO mail.gmx.net) (213.165.64.20) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 15 Nov 2005 10:13:06 -0800 Received: (qmail 30209 invoked by uid 0); 15 Nov 2005 18:12:52 -0000 Received: from 149.235.146.34 by www9.gmx.net with HTTP; Tue, 15 Nov 2005 19:12:52 +0100 (MET) Date: Tue, 15 Nov 2005 19:12:52 +0100 (MET) From: Harrus@gmx.de To: "Derby Discussion" MIME-Version: 1.0 References: Subject: Re: SqlException: Run out of sections to use X-Priority: 3 (Normal) X-Authenticated: #301917 Message-ID: <8180.1132078372@www9.gmx.net> X-Mailer: WWW-Mail 1.6 (Global Message Exchange) X-Flags: 0001 Content-Type: text/plain; charset="iso-8859-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 Here is the client's stack trace. I have none on the server. org.apache.derby.client.am.SqlException: Run out of sections to use,sections limited to 32k currently at org.apache.derby.client.am.SectionManager.getSection(Unknown Source) at org.apache.derby.client.am.SectionManager.getDynamicSection(Unknown Source) at org.apache.derby.client.am.Statement.flowExecute(Unknown Source) at org.apache.derby.client.am.Statement.executeUpdateX(Unknown Source) at org.apache.derby.client.am.Statement.executeUpdate(Unknown Source) The exception occurs after the insert of ~1600 rows in table a and ~23000 rows in table b. Each row in table a leads an insert of ~15 rows in table b. After 100 rows in table a and therefore ~1500 rows in table b I call Connection.commit(). I can query the db after the exception occured and it seems that all the commited entries are ok. I can compile the derby sources to get a stack trace with line numbers it it would help. Thanks, Harrus > --- Urspr�ngliche Nachricht --- > Von: Dyre.Tjeldvoll@Sun.COM > An: Derby Discussion > Betreff: Re: SqlException: Run out of sections to use > Datum: Sat, 12 Nov 2005 19:53:23 +0100 > > Harrus@gmx.de writes: > > > Hallo, > > > > I'm new to Derby and try to port a java app from MySQL to Derby. When I > try > > to insert several 1000 rows I get the following SqlException: > > Run out of sections to use,sections limited to 32k currently > > How many is "several"? > > > > After every 100 inserts I perform a commit. > > Hmm, that should not be a problem... how large is each row? > > > I found no hint in the documentation about his problem and also google > > didn't help. > > > Derby runs as server with default settings and the client connects via > > derbyclient.jar. > > Could you possibly post a complete stack trace? Preferably from > derby.log if it happens on the server... > > -- > dt > > -- Telefonieren Sie schon oder sparen Sie noch? NEU: GMX Phone_Flat http://www.gmx.net/de/go/telefonie