Skip to content

Commit 8cbf79b

Browse files
authored
fix: bump importer memory (#4612)
importer has been unable to cope with a large amount of records being kept in memory. This is a band-aid fix, we should just rewrite it to be better.
1 parent 24761f9 commit 8cbf79b

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

deployment/clouddeploy/gke-workers/base/importer.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ spec:
3030
resources:
3131
requests:
3232
cpu: "1"
33-
memory: "8G"
33+
memory: "24G"
3434
limits:
35-
cpu: "1"
36-
memory: "16G"
35+
cpu: "2"
36+
memory: "32G"
3737
nodeSelector:
3838
cloud.google.com/gke-nodepool: importer-pool
3939
restartPolicy: Never

deployment/terraform/modules/osv/workers_gke.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ resource "google_container_node_pool" "importer_pool" {
140140
}
141141

142142
node_config {
143-
machine_type = "n2-highmem-2"
143+
machine_type = "n2-highmem-4"
144144
disk_type = "pd-ssd"
145145
disk_size_gb = 64
146146
local_ssd_count = 1

0 commit comments

Comments
 (0)