I am getting the following error while running any node applications on my machine.
Error::
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
Writing Node.js report to file: report.20200217.131017.8875.0.001.json
Node.js report completed
1: 0xa9d570 node::Abort() [node]
2: 0xa9f832 node::OnFatalError(char const*, char const*) [node]
3: 0xc0772e v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [node]
Here When I am running my node server
after sometime its throwing this error. I follow some solutions and everywhere it has written to upgrade the node version so that this error will be stopped but after upgrading the node version I am also getting the same issue. Here I need to resolve this issue.