Giter Club home page Giter Club logo

Comments (5)

chingor13 avatar chingor13 commented on July 28, 2024

Can you provide a sample of the code you are trying to run as well as more information about your execution environment (client versions, os, etc)?

from java-storage.

Adam-Oudaimah-SCASE avatar Adam-Oudaimah-SCASE commented on July 28, 2024

Execution environment:
I'm building a Java (using Java 8) application that warps google storage API.
OS: Windows 10, client version: google-cloud-storage(1.86.0).

I used the approach that mentioned in the following example:
https://github.com/googleapis/google-cloud-java/blob/2c9e603d3c22d22197445da6b5cd6c776087e252/google-cloud-examples/src/main/java/com/google/cloud/examples/storage/StorageExample.java#L301

from java-storage.

pmakani avatar pmakani commented on July 28, 2024

@Adam-Oudaimah-SCASE I tried more than 5GB file many times but not able reproduce read timeout error.

from java-storage.

codyoss avatar codyoss commented on July 28, 2024

@Adam-Oudaimah-SCASE if you have not already can you try to change the chunk size?

int CHUNK_SIZE = 50 * 1000 * 1000;
Storage storage = StorageOptions.getDefaultInstance().getService();
WriteChannel writer = storage.writer(blobInfo);
writer.setChunkSize(CHUNK_SIZE);

from java-storage.

pmakani avatar pmakani commented on July 28, 2024

Closing this issue due to inactivity. Feel free to reopen if above reply did not help.

from java-storage.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.