X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 91562D777B for ; Tue, 27 Sep 2005 15:53:05 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 89535-08 for ; Tue, 27 Sep 2005 18:53:01 +0000 (GMT) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.192]) by svr1.postgresql.org (Postfix) with ESMTP id 7EC00D9922 for ; Tue, 27 Sep 2005 15:53:00 -0300 (ADT) Received: by xproxy.gmail.com with SMTP id s14so1382866wxc for ; Tue, 27 Sep 2005 11:53:02 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:references; b=tC2Trpz0QBxb/u8J5etxciiqEf1JbrWSbIX3DHC+irPniVtte4pJyuQT0enk1tz/q7y31BmJ7uaQypcf2QMm6isvqzAVsXwRTjZHjs8PaxDSfpux4XwYXjkFJlHg6RtAfARAC9B1xnio7gcLuvSdhoLxwhv8TwjTiDL6ap4HwdA= Received: by 10.70.43.3 with SMTP id q3mr3005404wxq; Tue, 27 Sep 2005 11:53:02 -0700 (PDT) Received: by 10.70.41.14 with HTTP; Tue, 27 Sep 2005 11:53:01 -0700 (PDT) Message-ID: <89cc056d0509271153168e1b72@mail.gmail.com> Date: Tue, 27 Sep 2005 14:53:02 -0400 From: Alfredo Rico Reply-To: Alfredo Rico To: Kris Jurka Subject: Re: Trouble with PreparedStatement.setBinaryData or setBytes() Cc: pgsql-jdbc@postgresql.org In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_4147_19927154.1127847182007" References: <89cc056d05092708171371d8dc@mail.gmail.com> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=1.4 required=5 tests=[AWL=-0.513, HTML_30_40=0.056, HTML_MESSAGE=0.001, RCVD_BY_IP=0.024, RCVD_IN_BL_SPAMCOP_NET=1.832] X-Spam-Level: * X-Archive-Number: 200509/117 X-Sequence-Number: 13902 ------=_Part_4147_19927154.1127847182007 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Kris, Thank you Thank you Thank you Thank you Thank you Thank you Thank you Thank you Thank you Thank you Thank you Thank you Thank you Thank you Thank you Thank you Thank you Kris... That's was the solution to all problem. Using JDBC driver for PostgreSQL v.8.0 was the solution, I was using JDBC version 7.4 Build 216 becuase I'm working with PostgreSQL v7.4.7. Kris, anew thank you so much... Warm Regards.- Alfredo Rico.- On 9/27/05, Kris Jurka wrote: > > > > On Tue, 27 Sep 2005, Alfredo Rico wrote: > > > If input file (pdf, doc, png, txt whatever...) exceed 2 MB > > I have the following exception: > > > > java.lang.OutOfMemoryError: Java heap space > > > > You should try upgrading to the 8.0 driver which does a much better job o= f > memory management and streaming data to the server. > > Kris Jurka > > ------=_Part_4147_19927154.1127847182007 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Kris,
Thank you Thank you Thank you Thank you Thank you Thank you Thank you Thank you Thank you Thank you Thank you Thank you Thank you Thank you Thank you Thank you

Thank you Kris... That's was the solution to all problem. Using JDBC driver for PostgreSQL v.8.0 was the solution, I was using JDBC version 7.4 Build 216 becuase I'm working with PostgreSQL v7.4.7.

Kris, anew thank you so much...

Warm Regards.-
Alfredo Rico.-

On 9/27/05, Kris Jurka <books@ejurka.com> wrote:


On Tue, 27 Sep 2005, Alfredo Rico wrote:

> If input file = (pdf, doc, png, txt whatever...) exceed 2 MB
> I have the following e= xception:
>
> java.lang.OutOfMemoryError: Java heap space
>

You should try upgrading to the 8.0 driver which does a much be= tter job of
memory management and streaming data to the server.

K= ris Jurka


------=_Part_4147_19927154.1127847182007--