From: Oliver Jowett <oliver@opencloud.com>
To: Jesper Thorhauge <jth@conzentrate.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: getBinaryStream and OutOfMemoryException
Date: Wed, 29 Jun 2005 01:29:45 +1200
Message-ID: <42C150C9.70101@opencloud.com> (raw)
In-Reply-To: <42C14CEA.4020704@conzentrate.com>
References: <42C10723.5010702@conzentrate.com>
<42C14B45.8000500@opencloud.com>
<42C14CEA.4020704@conzentrate.com>
Jesper Thorhauge wrote:
> Okay, thanks alot for the quick answer! I was wondering, do you know how
> much more efficient it could be done using the binary format you are
> mentioning? I'm especially interested in decreasing the amount of memory
> used to get large bytea values...
Um, rough estimate would be about a factor of 5 (assume text
representation of bytea averages about ~2.5 characters per raw byte, and
characters are 16 bits on the Java side)
-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, jth@conzentrate.com
Subject: Re: getBinaryStream and OutOfMemoryException
In-Reply-To: <42C150C9.70101@opencloud.com>
References: <42C10723.5010702@conzentrate.com> <42C14B45.8000500@opencloud.com> <42C14CEA.4020704@conzentrate.com> <42C150C9.70101@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