Skip to content

Commit

Permalink
cloud: Bump archival RAM to (the max of) 8GB
Browse files Browse the repository at this point in the history
Bump the RAM allocated to the data archival cloud function from 4GB to
8GB, so we avoid aborting on out-of-memory when transferring 12 hours
of data at a time.

It could be that BigQuery is accumulating memory use over time and
running out, despite us calling gc.collect() after every transfer, but I
don't have the time to pursue this further.
  • Loading branch information
spbnick committed Nov 20, 2024
1 parent e83de41 commit cb4bd7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kcidb/cloud/functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ function functions_deploy() {
archive true \
--env-vars-file "$env_yaml_file" \
--trigger-topic "${archive_trigger_topic}" \
--memory 4096MB \
--memory 8192MB \
--max-instances=1 \
--timeout 540

Expand Down

0 comments on commit cb4bd7f

Please sign in to comment.