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: Paolo Sommaruga <email@hidden>
- Date: Fri, 16 Apr 2004 10:38:59 +0200
Thanks Giorgio,
I have looked at the Url you send but It seems that there are none
indications regard this issue. One person suggests to use largeobjects,
I think pg_largeobjects, but I don't believe one can use it on a JDBC
or EOModel
Any suggestion ?
Regards
Paolo
Il giorno 15/apr/04, alle 10:39, Giorgio Valoti ha scritto:
> 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.
_______________________________________________
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.