From bba688cec049ff78d8955c5b56c727524f94fd55 Mon Sep 17 00:00:00 2001 From: nike-getto Date: Thu, 5 Dec 2024 19:48:02 +0100 Subject: [PATCH] fix/increase-heap --- ipfs-service/Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ipfs-service/Dockerfile b/ipfs-service/Dockerfile index ed901730..a68ad4c6 100644 --- a/ipfs-service/Dockerfile +++ b/ipfs-service/Dockerfile @@ -9,6 +9,9 @@ RUN apt-get update && \ # Upgrade npm to the latest version RUN npm install -g npm@latest +# Set the memory limit and max listeners +ENV NODE_OPTIONS="--max-old-space-size=8192" + # Set the working directory inside the container WORKDIR /app