mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-28 07:03:17 +08:00
Increase JS heap
This commit is contained in:
parent
3d35015ee9
commit
7d395e176e
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user