Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-jdbc by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group