Increase JS heap

This commit is contained in:
Nikolay Rozhkov 2023-08-25 12:55:26 +03:00
parent 3d35015ee9
commit 7d395e176e
1 changed files with 2 additions and 2 deletions

View File

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