Comments (5)
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.
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.
@Adam-Oudaimah-SCASE I tried more than 5GB file many times but not able reproduce read timeout error.
from java-storage.
@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.
Closing this issue due to inactivity. Feel free to reopen if above reply did not help.
from java-storage.
Related Issues (20)
- com.example.storage.bucket.PrintPubSubNotificationTest: testPrintBucketPubSubNotification failed HOT 2
- Warning: a recent release failed HOT 2
- Add support for Autoclass v2.1 HOT 1
- grpc compatibility with storage 2.27.x HOT 3
- Google Cloud Storage: unexpected exception after successfully writing to a Google Cloud Storage object HOT 2
- grpc compatibility issue 2.27.1 HOT 9
- GCP cloud storage downloaded file corruption HOT 4
- Improve Virtual Thread compatibility
- Unable to initiate resumable uploads from java sdk: Cloud storage v2 API. HOT 4
- Unable to Get or Refresh access token from Google Credentials instance in java sdk HOT 1
- Novel transient error introduced between 2.27.1 and 2.30.1? HOT 5
- Add Support for includeFolders option in ListObjects HOT 3
- Fix retry logic on SSL Connection Reset errors and Error writing request body to server HOT 1
- storage: memory leak while writing to GCS bucket HOT 6
- Uploading files to GCS via WriteChannel cause the memory to increase - memory not released HOT 3
- Use opentelemetry for tracing google-cloud-storage client calls
- Storage.writer(...) breaks the idea of 'generation' HOT 2
- Support for Storage Control Quickstart
- Issue with GCS matchGlob method HOT 3
- Jqwik Usage Survey HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from java-storage.