Re: Trouble with PreparedStatement.setBinaryData or setBytes() - Mailing list pgsql-jdbc

From Kris Jurka
Subject Re: Trouble with PreparedStatement.setBinaryData or setBytes()
Date
Msg-id Pine.BSO.4.61.0509271315080.17719@leary.csoft.net
Whole thread Raw
In response to Trouble with PreparedStatement.setBinaryData or setBytes()  (Alfredo Rico <alfredorico@gmail.com>)
Responses Re: Trouble with PreparedStatement.setBinaryData or setBytes()  (Alfredo Rico <alfredorico@gmail.com>)
List 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


pgsql-jdbc by date:

Previous
From: "Kevin Grittner"
Date:
Subject: Re: Trouble with PreparedStatement.setBinaryData or
Next
From: Alfredo Rico
Date:
Subject: Re: Trouble with PreparedStatement.setBinaryData or setBytes()