[appengine-java] Re: I can't read a 7.5MB file in tasks 10min. Whats the task's blobstore read bandwidth/(throttle)?

2011-04-23 Thread branflake2267
Well, I give up for now. So far I can't get the bytes by fetching them fast enough and the FileReadChannel won't read all the bytes. I've run out of time and ideas for today. I have an ugly hack going on which will allow me to move on for now, but it bugs me :). I guess my ultimate goal of re

[appengine-java] Re: I can't read a 7.5MB file in tasks 10min. Whats the task's blobstore read bandwidth/(throttle)?

2011-04-23 Thread branflake2267
http://code.google.com/p/gwt-examples/wiki/DemoGAEMultiFileBlobUpload - some of my notes on blob stuff. -- 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 google-appengine-java@googlegroups.com. T

[appengine-java] Re: I can't read a 7.5MB file in tasks 10min. Whats the task's blobstore read bandwidth/(throttle)?

2011-04-23 Thread branflake2267
I made an issue b/c it looks to be a GAE bug: http://code.google.com/p/googleappengine/issues/detail?id=4931 (Note there is a Base64 BlobInfo size designation issue too that needs to be fixe and is simliar.) Brandon Donnelson http://gwt-examples.googlecode.com -- You received this message bec

[appengine-java] Re: I can't read a 7.5MB file in tasks 10min. Whats the task's blobstore read bandwidth/(throttle)?

2011-04-23 Thread branflake2267
Here is the workaround part, this is for base64 blobinfo size designation problem: private void workaround(ByteArrayOutputStream out, BlobKey blobKey, long offset, long filesize) { int chunkSize = 1; long limit = 0; while (offset < filesize) { limit = offset + chunkSize - 1;

[appengine-java] Re: I can't read a 7.5MB file in tasks 10min. Whats the task's blobstore read bandwidth/(throttle)?

2011-04-23 Thread branflake2267
Here was what I was using that took too long: private byte[] getImageBytes(BlobData blobData) { if (blobData == null) { return null; } BlobKey blobKey = new BlobKey(blobData.getKey()); if (blobKey == null) { return null; } ByteArrayOutputStream out = new ByteA

[appengine-java] Re: I can't read a 7.5MB file in tasks 10min. Whats the task's blobstore read bandwidth/(throttle)?

2011-04-23 Thread branflake2267
It looks like operator error. I'm narrowing in on it now. Brandon -- 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 google-appengine-java@googlegroups.com. To unsubscribe from this group, send em

[appengine-java] Re: I can't read a 7.5MB file in tasks 10min. Whats the task's blobstore read bandwidth/(throttle)?

2011-04-20 Thread branflake2267
Is there a memory limit? -- 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 google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@