Could maybe someone from Google help with this ? 5MB is not so much - it shouldn't really take 30s !! Thanks ! Daniel
On Apr 7, 3:09 pm, DanielP <daniel.pasca...@gmail.com> wrote: > Hi, > > I am trying to read some 5MB XML files I have saved into the > Blobstorevia the new APIs introduced in Version 1.4.3. > The problem is that the read is so slow that I get a > DeadlineExceededException :( > > I'm folowing the example provided in the docs > here:http://code.google.com/appengine/docs/java/blobstore/overview.html#Wr... > > Here is my code: > > AppEngineFile aeFile = fileService.getBlobFile(key); > FileReadChannel readChannel = fileService.openReadChannel(aeFile, > false); > BufferedReader reader = new > BufferedReader(Channels.newReader(readChannel, "UTF8")); > > StringBuffer sBuffer = new StringBuffer(); > String line = null; > while ((line = reader.readLine()) != null) sBuffer.append(line); > > So the question is: What is a fast way to read large files from the > Blobstore? > > Many thanks for the help ! > Daniel -- 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...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.