You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> You can also control memory limit *in bytes* using client config. The client config takes precedence over the environment variable (memory_limit_in_bytes needs to be set to a non-zero value).
If neither is set (config is 0 and environment variable is not set), the client sets a default memory limit based on the target throughput.
34
+
When nothing is set, the client sets a default memory limit based on the target throughput.
44
35
45
36
**Notes**:
46
37
* The limit applies per client. If multiple clients created, limit will apply to each separately.
47
38
* The environment variable value must be a valid positive integer representing gigabytes (GiB).
48
39
* The value is converted from GiB to bytes internally (1 GiB = 1024³ bytes).
49
40
* Invalid values or overflow conditions will cause client creation to fail with `AWS_ERROR_INVALID_ARGUMENT`.
50
41
42
+
> [!TIP]
43
+
> You can also control memory limit *in bytes* using client config. The client config takes precedence over the environment variable (memory_limit_in_bytes needs to be set to a non-zero value).
2. **Maximum Parts Pending Read - `AWS_CRT_S3_MAX_PARTS_PENDING_READ`**
52
52
53
53
Controls the maximum number of parts that can be pending read from the input stream during a multipart upload. Higher values may improve upload throughput for large files by allowing more parts to be read in parallel, at the cost of higher memory usage.
0 commit comments