From: Jesper Thorhauge <jth@conzentrate.com>
To: Oliver Jowett <oliver@opencloud.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: getBinaryStream and OutOfMemoryException
Date: Tue, 28 Jun 2005 15:38:55 +0200
Message-ID: <42C152EF.305@conzentrate.com> (raw)
In-Reply-To: <42C150C9.70101@opencloud.com>
References: <42C10723.5010702@conzentrate.com>
<42C14B45.8000500@opencloud.com>
<42C14CEA.4020704@conzentrate.com>
<42C150C9.70101@opencloud.com>
Okay, thats seems like a lot!! What are the priorities about getting
this modification into the driver? I have seen some other posts
regarding this binaryStream / memory problem, so it seems that i'm not
the only one :-)
Oliver Jowett wrote:
>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
>
>---------------------------(end of broadcast)---------------------------
>TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/docs/faq
>
>
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: jth@conzentrate.com, oliver@opencloud.com
Subject: Re: getBinaryStream and OutOfMemoryException
In-Reply-To: <42C152EF.305@conzentrate.com>
References: <42C10723.5010702@conzentrate.com> <42C14B45.8000500@opencloud.com> <42C14CEA.4020704@conzentrate.com> <42C150C9.70101@opencloud.com> <42C152EF.305@conzentrate.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