Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 8422 invoked from network); 10 Jul 2006 14:25:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 10 Jul 2006 14:25:46 -0000 Received: (qmail 51714 invoked by uid 500); 10 Jul 2006 14:25:46 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 51492 invoked by uid 500); 10 Jul 2006 14:25:46 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 51483 invoked by uid 99); 10 Jul 2006 14:25:46 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Jul 2006 07:25:46 -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.98.31] (HELO brmea-mail-1.sun.com) (192.18.98.31) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Jul 2006 07:25:36 -0700 Received: from phys-epost-1 ([129.159.136.14]) by brmea-mail-1.sun.com (8.13.6+Sun/8.12.9) with ESMTP id k6AEP8K3025367 for ; Mon, 10 Jul 2006 08:25:09 -0600 (MDT) Received: from conversion-daemon.epost-mail1.sweden.sun.com by epost-mail1.sweden.sun.com (iPlanet Messaging Server 5.2 HotFix 1.24 (built Dec 19 2003)) id <0J2600H01YN2B4@epost-mail1.sweden.sun.com> (original mail from Andreas.Korneliussen@Sun.COM) for derby-dev@db.apache.org; Mon, 10 Jul 2006 16:25:08 +0200 (MEST) Received: from [129.159.112.247] (khepri35.Norway.Sun.COM [129.159.112.247]) by epost-mail1.sweden.sun.com (iPlanet Messaging Server 5.2 HotFix 1.24 (built Dec 19 2003)) with ESMTPA id <0J26001SSYPVVR@epost-mail1.sweden.sun.com> for derby-dev@db.apache.org; Mon, 10 Jul 2006 16:25:08 +0200 (MEST) Date: Mon, 10 Jul 2006 16:25:07 +0200 From: Andreas Korneliussen Subject: Re: [jira] Commented: (DERBY-550) BLOB : java.lang.OutOfMemoryError with network JDBC driver (org.apache.derby.jdbc.ClientDriver) In-reply-to: <44B25BF0.8010901@basil.ocn.ne.jp> To: derby-dev@db.apache.org Reply-to: Andreas.Korneliussen@Sun.COM Message-id: <44B26343.90807@sun.com> Organization: Sun Microsystems MIME-version: 1.0 Content-type: text/plain; charset=UTF-8; format=flowed Content-transfer-encoding: 7BIT User-Agent: Thunderbird 1.5.0.2 (X11/20060427) References: <22130645.1152283292630.JavaMail.jira@brutus> <44B2523D.3010802@basil.ocn.ne.jp> <44B253D6.60900@sun.com> <44B25BF0.8010901@basil.ocn.ne.jp> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N TomohitoNakayama wrote: > Hello Andreas. > > I see ... > H mm. Complex circumstances .... > > The program failed in creating error message of OutOfMemoryError ... > > Please upload your application program. > I want to make it possible to see the phenomena by myself. > > Best regards. > Hi, Yes I will upload the program. Note: the VM throws a OutOfMemoryException, which is caught in: NetStatementReply.copyEXTDTA: protected void copyEXTDTA(NetCursor netCursor) throws DisconnectException { try { parseLengthAndMatchCodePoint(CodePoint.EXTDTA); byte[] data = null; if (longValueForDecryption_ == null) { data = (getData(null)).toByteArray(); } else { data = longValueForDecryption_; dssLength_ = 0; longValueForDecryption_ = null; } netCursor.extdtaData_.add(data); } catch (java.lang.OutOfMemoryError e) { <--- outofmemory agent_.accumulateChainBreakingReadExceptionAndThrow(new DisconnectException(agent_, new ClientMessageId(SQLState.NET_LOB_DATA_TOO_LARGE_FOR_JVM), e)); <----- message does not take parameters, causing assert failure } } When it calls new ClientMessageId(...), it fails with the assert, since the message does not take any parameters (here e is added as parameter to the message) Andreas