Skip to content

Commit 169842b

Browse files
authored
Bump Default Memory Limit for Higher Target Throughput (#499)
1 parent aa2d139 commit 169842b

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

source/s3_client.c

+6-2
Original file line numberDiff line numberDiff line change
@@ -318,9 +318,13 @@ struct aws_s3_client *aws_s3_client_new(
318318
mem_limit = GB_TO_BYTES(1);
319319
}
320320
#else
321-
if (client_config->throughput_target_gbps > 75.0) {
321+
if (client_config->throughput_target_gbps >= 200.0) {
322+
mem_limit = GB_TO_BYTES(24);
323+
} else if (client_config->throughput_target_gbps >= 100.0) {
324+
mem_limit = GB_TO_BYTES(16);
325+
} else if (client_config->throughput_target_gbps >= 75.0) {
322326
mem_limit = GB_TO_BYTES(8);
323-
} else if (client_config->throughput_target_gbps > 25.0) {
327+
} else if (client_config->throughput_target_gbps >= 25.0) {
324328
mem_limit = GB_TO_BYTES(4);
325329
} else {
326330
mem_limit = GB_TO_BYTES(2);

0 commit comments

Comments
 (0)