mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
Default NodeJS max heap limit to 250M. Override by setting NODE_OPTIONS
Fixes #5598
This commit is contained in:
parent
0a33d0b1f7
commit
456d994535
1 changed files with 2 additions and 1 deletions
|
@ -21,5 +21,6 @@ if [ ! -x "$NODE" ]; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
exec "${NODE}" "${DIR}/src/cli" ${@}
|
||||
NODE_OPTIONS="${NODE_OPTIONS:=--max-old-space-size=250}"
|
||||
exec "${NODE}" $NODE_OPTIONS "${DIR}/src/cli" ${@}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue