Skip to content

Commit

Permalink
bug 1464020. Correct the memory param to use underscores
Browse files Browse the repository at this point in the history
  • Loading branch information
jcantrill committed Jun 28, 2017
1 parent 2f5995d commit bf1c51d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ if [ 1 -eq $(echo "${OCP_AUTH_PROXY_MEMORY_LIMIT:-}" | grep -Ec $regex) ] ; then
num=$DEFAULT_MIN
fi

export NODE_OPTIONS="--max-old-space-size=$((num / ${BYTES_PER_MEG}))"
export NODE_OPTIONS="--max_old_space_size=$((num / ${BYTES_PER_MEG}))"

else
echo "Unable to process the OCP_AUTH_PROXY_MEMORY_LIMIT: '${OCP_AUTH_PROXY_MEMORY_LIMIT}'."
Expand Down

0 comments on commit bf1c51d

Please sign in to comment.