Re: How can I stream blobs to/from entities?
Re: How can I stream blobs to/from entities?
- Subject: Re: How can I stream blobs to/from entities?
- From: Giorgio Valoti <email@hidden>
- Date: Thu, 15 Apr 2004 10:39:22 +0200
On 15/apr/04, at 03:13, Arturo Pirez wrote:
On Apr 14, 2004, at 1:35 PM, Paolo Sommaruga wrote:
The code works very well but only with file < 3MB size. With greater
size I need to increase the max jvm heap size. I can upload a file of
10 MB size only with -Xmx512m, which is too much memory for a single
WO
instance for me
This looks like a limitation of the JDBC driver for pgSQL. What it
does internally is read the whole file at once then ships it over to
the DB in a bytea. There's a comment to the effect that data can't be
streamed over to the database.
You may want to complain to the pgSQL developers about this.
There was a discussion on the pgsql-jdbc list, regarding this issue.
Here's the link:
<http://archives.postgresql.org/pgsql-jdbc/2004-04/msg00128.php>
Hope that helps
--
Giorgio Valoti
--------------
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.