• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How can I stream blobs to/from entities?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • Re: How can I stream blobs to/from entities?
      • From: Paolo Sommaruga <email@hidden>
References: 
 >How can I stream blobs to/from entities? (From: Serge Froment <email@hidden>)
 >Re: How can I stream blobs to/from entities? (From: Jonathan Rochkind <email@hidden>)
 >Re: How can I stream blobs to/from entities? (From: Serge Froment <email@hidden>)
 >Re: How can I stream blobs to/from entities? (From: Serge Froment <email@hidden>)
 >Re: How can I stream blobs to/from entities? (From: Paolo Sommaruga <email@hidden>)
 >Re: How can I stream blobs to/from entities? (From: Arturo PĂ©rez <email@hidden>)

  • Prev by Date: Re: EditingContext question
  • Next by Date: Re: Changing EOModel login on the fly?
  • Previous by thread: Re: How can I stream blobs to/from entities?
  • Next by thread: Re: How can I stream blobs to/from entities?
  • Index(es):
    • Date
    • Thread