So that seemed to be my mistake.  The
BlobstoreService.MAX_BLOB_FETCH_SIZE is really the
BlobstoreService.TOO_MUCH_BLOB_FETCH_SIZE since that is what I was
using as my read size in my last attempt.  Once I lowered that, then
it started to with using blobstoreService.fetchData.

Disaster averted.  Thanks.

On Jul 26, 7:43 am, "jacek.ambroziak" <[email protected]>
wrote:
> You need to read your Blob's content in several chunks
> that are no larger than the limit.
> Combining this with XML file compression can also make sense.
>
> On Jul 25, 9:07 pm, korey_sed <[email protected]> wrote:
>
>
>
> > I am stumped.  No matter what API call I try to read a large blob, I
> > get the following:
>
> > Caused by: com.google.apphosting.api.ApiProxy$ApplicationException:
> > ApplicationError: 6: Blob fetch size too large.
>
> > I have tried using the BlobStoreInputStream,
> > BlobStoreService.fetchData, and even BlobStoreService.serve with a
> > fetch URL which also fails since URLs also have a 1MB limit.  My
> > latest attempt was using fetchData setting the length to
> > MAX_BLOB_FETCH_SIZE.
>
> > how are you suppose to read large data out of the blob store?  all the
> > examples are using serve which does not help me.
>
> > I have a 2MB XML file that I am trying to fetch and parse after it is
> > uploaded.
>
> > any help is much appreciated.  Code examples are even more
> > appreciated.
>
> > Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to