Skip to content

Commit 6b80de1

Browse files
fix: increase memory limit for node container to avoid out of memory errors (#1516)
1 parent 9db035a commit 6b80de1

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

deployment/docker-compose.dev.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,9 @@ services:
128128
entrypoint: /bin/sh
129129
stdin_open: true
130130
tty: true
131+
environment:
132+
NODE_OPTIONS: "--max-old-space-size=12288"
133+
mem_limit: 16g
131134
networks:
132135
- nmrxiv_net
133136
volumes:

0 commit comments

Comments
 (0)