Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion bin/kibana
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove this line, we decided not to set a default.

exec "${NODE}" $NODE_OPTIONS "${DIR}/src/cli" ${@}

6 changes: 5 additions & 1 deletion bin/kibana.bat
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,12 @@ If Not Exist "%NODE%" (
)
)

if "%NODE_OPTIONS%" == "" (
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove the defaults, we've decided not to set a default.

set NODE_OPTIONS=--max-old-space-size=250
)

TITLE Kibana Server
"%NODE%" "%DIR%\src\cli" %*
"%NODE%" %NODE_OPTIONS% "%DIR%\src\cli" %*

:finally

Expand Down