From: Oliver Jowett <oliver@opencloud.com>
To: Tao Yang <tyang@cloverworxs.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Out of memory exception
Date: Wed, 21 Apr 2004 11:48:37 +1200
Message-ID: <4085B6D5.7080500@opencloud.com> (raw)
In-Reply-To: <40805043.6020502@cloverworxs.com>
References: <40805043.6020502@cloverworxs.com>
Tao Yang wrote:
> Is there any possibility the postgresql jdbc driver does not handle
> large object very well, for example, use stream for loading that big file?
>
> Do you have any clue why we have those problems?
In brief: yes, the driver doesn't handle large binary columns very well.
You will need 6-7 times the binary data's size in temporary heap space.
For details, take a look at:
http://archives.postgresql.org/pgsql-jdbc/2004-04/msg00186.phphttp://archives.postgresql.org/pgsql-jdbc/2004-04/msg00128.php
-O
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: oliver@opencloud.com, tyang@cloverworxs.com
Subject: Re: Out of memory exception
In-Reply-To: <4085B6D5.7080500@opencloud.com>
References: <40805043.6020502@cloverworxs.com> <4085B6D5.7080500@opencloud.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox