Increase the JavaStack heap memory for protractor

前端 未结 2 1332
无人及你
无人及你 2021-01-21 07:25

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

2条回答
  •  伪装坚强ぢ
    2021-01-21 08:11

    set NODE_OPTIONS="--max-old-space-size=4096"
    

    (or)

    export NODE_OPTIONS="--max-old-space-size=4096"
    

提交回复
热议问题