Allocation failed - JavaScript heap out of memory code example Example: javascript heap out of memory export NODE_OPTIONS=--max_old_space_size=4096