I am running test cases using protractor, but sometimes I\'m facing error
FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memo
If your Nodejs is v8.0.0 or later, you can set it by Environmen Variable: NODE_OPTIONS
NODE_OPTIONS
For linux:
NODE_OPTIONS="--max-old-space-size=512"
For windows:
More detail look at here
set NODE_OPTIONS="--max-old-space-size=4096"
(or)
export NODE_OPTIONS="--max-old-space-size=4096"