Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 80865 invoked from network); 31 Aug 2005 21:27:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 31 Aug 2005 21:27:16 -0000 Received: (qmail 27582 invoked by uid 500); 31 Aug 2005 21:27:15 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 27330 invoked by uid 500); 31 Aug 2005 21:27:14 -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: "Derby Development" Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 27317 invoked by uid 99); 31 Aug 2005 21:27:13 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Aug 2005 14:27:13 -0700 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,DNS_FROM_RFC_WHOIS,SPF_HELO_FAIL X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [32.97.182.142] (HELO e2.ny.us.ibm.com) (32.97.182.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Aug 2005 14:27:29 -0700 Received: from d01relay02.pok.ibm.com (d01relay02.pok.ibm.com [9.56.227.234]) by e2.ny.us.ibm.com (8.12.11/8.12.11) with ESMTP id j7VLRCnF005023 for ; Wed, 31 Aug 2005 17:27:12 -0400 Received: from d01av03.pok.ibm.com (d01av03.pok.ibm.com [9.56.224.217]) by d01relay02.pok.ibm.com (8.12.10/NCO/VERS6.7) with ESMTP id j7VLRCnN091512 for ; Wed, 31 Aug 2005 17:27:12 -0400 Received: from d01av03.pok.ibm.com (loopback [127.0.0.1]) by d01av03.pok.ibm.com (8.12.11/8.13.3) with ESMTP id j7VLRBER002469 for ; Wed, 31 Aug 2005 17:27:11 -0400 Received: from [127.0.0.1] (sig-9-48-121-102.mts.ibm.com [9.48.121.102]) by d01av03.pok.ibm.com (8.12.11/8.12.11) with ESMTP id j7VLR9VR002310; Wed, 31 Aug 2005 17:27:11 -0400 Message-ID: <431620AB.8080809@sbcglobal.net> Date: Wed, 31 Aug 2005 14:27:07 -0700 From: Kathey Marsden User-Agent: Mozilla Thunderbird 0.7.3 (Windows/20040803) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Derby Development , =?ISO-8859-1?Q?Gr=E9goir?= =?ISO-8859-1?Q?e_Dubois?= Subject: Re: BLOB : java.lang.OutOfMemoryError References: <1125495665.7293.32.camel@Greg.site> <1125500060.7293.42.camel@Greg.site> <4315D196.5040708@Sourcery.Org> <200508311202.07926.msegel@segel.com> <4315E664.4080403@debrunners.com> <4315F146.9060406@Sourcery.Org> <1125513176.16097.16.camel@Greg.site> <4315FB5E.6060709@sun.com> <633B9019-4B43-4C1A-89D6-D00994EAECFE@Sun.COM> <43160150.9030501@sbcglobal.net> In-Reply-To: <43160150.9030501@sbcglobal.net> X-Enigmail-Version: 0.85.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime 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 Kathey Marsden wrote: >Craig Russell wrote: > > > >>Of course, since we use DRDA, we would have to see if that protocol >>supports blob streaming... >> >> > > >Yes it does. The issue is with our writeStream methods they take a >length parameter which they use but don't actually write out. See the >issue DERBY-326 for details > >http://issues.apache.org/jira/browse/DERBY-326 > >I am sending this to derby-dev with a bcc of derby-user so this thread >can get redirected to the development list where it belongs. If you >want to join this discussion, see you on derby-dev. > > > Actually I should qualify that I have only looked at the server side of this issue. When returning large objects from the server the memory consumption is caused by the need to know the length. Perhaps the client side issues are different. Gr�goire, can you log a new bug with your specific reproducible case and link it to DERBY-326? That way your issue can be addressed directly. Kathey