Re: Trouble with PreparedStatement.setBinaryData or setBytes()

From: Kris Jurka <books(at)ejurka(dot)com>
To: Alfredo Rico <alfredorico(at)gmail(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Trouble with PreparedStatement.setBinaryData or setBytes()
Date: 2005-09-27 18:16:18
Message-ID: Pine.BSO.4.61.0509271315080.17719@leary.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

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 of
memory management and streaming data to the server.

Kris Jurka

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Alfredo Rico 2005-09-27 18:53:02 Re: Trouble with PreparedStatement.setBinaryData or setBytes()
Previous Message Kevin Grittner 2005-09-27 15:41:48 Re: Trouble with PreparedStatement.setBinaryData or