Increase JS heap

This commit is contained in:
Nikolay Rozhkov 2023-08-25 12:55:26 +03:00
parent 3d35015ee9
commit 7d395e176e

View File

@ -5,9 +5,9 @@ services:
stdin_open: true stdin_open: true
tty: true tty: true
working_dir: /mermaid working_dir: /mermaid
mem_limit: '2G' mem_limit: '4G'
environment: environment:
- NODE_OPTIONS=--max_old_space_size=2048 - NODE_OPTIONS=--max_old_space_size=4096
volumes: volumes:
- ./:/mermaid - ./:/mermaid
- root_cache:/root/.cache - root_cache:/root/.cache