Skip to content

Commit 89e702f

Browse files
heiskrCopilot
andauthored
Bump production Node heap to 7 GB and memory request to 8 Gi (#60241)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent ba0348e commit 89e702f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

config/kubernetes/production/deployments/webapp.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ spec:
3030
# Node is single-threaded but we want more CPUs
3131
# for OS and image resizing, and other binary executions
3232
# Better to increase replicas or memory than CPU
33-
memory: 6.0Gi
33+
memory: 8.0Gi
3434
# Absolute minimum to start app is 4500Mi
3535
# Would increase with more pages, versions, or languages supported
3636
# The additional memory helps during traffic surges

config/moda/configuration/production/env.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
data:
22
MODA_APP_NAME: docs-internal
33
NODE_ENV: production
4-
NODE_OPTIONS: '--max-old-space-size=4096'
4+
NODE_OPTIONS: '--max-old-space-size=7168'
55
PORT: '4000'
66
ENABLED_LANGUAGES: 'en,es,ja,pt,zh,ru,fr,ko,de'
77
RATE_LIMIT_MAX: '21'

0 commit comments

Comments
 (0)