i have express web app running on 2 ubuntu bare metal servers, balancing load nginx on 3rd server.
on first machine (app1), have node v4.4.7. second 1 (app2), upgraded use node v6.3.0. since upgrade, app2 throws errors like:
fatal error: scavenger: semi-space copy allocation failed - process out of memory
and:
fatal error: call_and_retry_last allocation failed - javascript heap out of memory
in both servers use --max-old-space-size=2048
. both machines have huge amount of ram, , both use less half of it.
the question is, has changed v4 v6? there new node option increase heap size?
the correct option --max_old_space_size
. note underscore instead of dash. if running node 6, execute node --v8-options
list of node v8 options.
Comments
Post a Comment