reached heap limit allocation failed javascript heap out of memory nodejs

Solutions on MaxInterview for reached heap limit allocation failed javascript heap out of memory nodejs by the best coders in the world

showing results for - "reached heap limit allocation failed javascript heap out of memory nodejs"
Alan
23 Apr 2020
1create swap memory
2
3https://aws.amazon.com/premiumsupport/knowledge-center/ec2-memory-swap-file/
4
5After that set the environment variable
6
7export NODE_OPTIONS=--max_old_space_size=4096
8