🔧(y-provider) increase Node.js memory limit

By default, Node.js has a memory limit of
around 512MB, which can lead to out-of-memory
errors when processing large documents.
This commit increases the memory limit to
2GB for the y-provider server, allowing
it to handle larger documents without crashing.
This commit is contained in:
Anthony LC
2026-03-25 17:22:32 +01:00
committed by Manuel Raynaud
parent f91223fe4a
commit cbe6a67704
2 changed files with 3 additions and 0 deletions
@@ -145,6 +145,7 @@ yProvider:
COLLABORATION_SERVER_ORIGIN: https://{{ .Values.feature }}-docs.{{ .Values.domain }}
COLLABORATION_SERVER_SECRET: my-secret
Y_PROVIDER_API_KEY: my-secret
NODE_OPTIONS: "--max-old-space-size=1024"
docSpec:
enabled: true