Atteint l'allocation de limite de tas a échoué - JavaScript tas hors des nœuds de mémoire

create swap memory

https://aws.amazon.com/premiumsupport/knowledge-center/ec2-memory-swap-file/

After that set the environment variable

export NODE_OPTIONS=--max_old_space_size=4096
Hiren Reshamwala