From 79e56286bff1b4bef05791b563e6683b926976e8 Mon Sep 17 00:00:00 2001 From: Alexei Karpenko Date: Wed, 16 Aug 2023 22:55:04 -0700 Subject: [PATCH] Asset server memory to 4GiB (#31) --- deploy/k8/biomes.ts | 2 +- deploy/k8/biomes.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/deploy/k8/biomes.ts b/deploy/k8/biomes.ts index 64a7f853a3..e2401ab66d 100644 --- a/deploy/k8/biomes.ts +++ b/deploy/k8/biomes.ts @@ -69,7 +69,7 @@ function createBiomes() { http: true, args: [...BASE_CONFIG_ARGS, "-a", "local"], cpu: 1.5, - memory: 1 * 1024, + memory: 4 * 1024, }), // Periodic backup job. biomesCron("0 * * * *", { diff --git a/deploy/k8/biomes.yaml b/deploy/k8/biomes.yaml index 5d14af43c6..68cc17cec8 100644 --- a/deploy/k8/biomes.yaml +++ b/deploy/k8/biomes.yaml @@ -133,7 +133,7 @@ spec: - name: CPU_COUNT value: '1.5' - name: NODE_OPTIONS - value: '--openssl-legacy-provider --max-old-space-size=1024' + value: '--openssl-legacy-provider --max-old-space-size=4096' - name: GOOGLE_CLOUD_PROJECT value: zones-cloud - name: IS_SERVER @@ -184,7 +184,7 @@ spec: timeoutSeconds: 1 resources: requests: - memory: 1024Mi + memory: 4096Mi cpu: '1.5' - name: nginx image: nginx:stable