Рубрики

Мета

NodeJS – Heap out of memory

Sometimes, when you work with a lot of data you can get the error:FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed – JavaScript heap out of memory . It happening because of default limit for heap in NodeJS (~ 1.5 GB).