• 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: Paolo Sommaruga <email@hidden>
  • Date: Fri, 16 Apr 2004 10:31:12 +0200

you are right. I have rebuilted the EOModel working with MySQL and no problem at all

Thanks


Paolo


Il giorno 15/apr/04, alle 03:13, Arturo Pirez ha scritto:

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.
----
WO in philadelphia - wanna cheesesteak with that?
Please visit webobjects.meetup.com.
_______________________________________________
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.


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: D2J: trying to totalize fields from detail in master EOGenericRecord
  • Next by Date: Re: How can I stream blobs to/from entities?
  • Previous by thread: Re: How can I stream blobs to/from entities?
  • Next by thread: Editing a record
  • Index(es):
    • Date
    • Thread