memory Node js Errors


### 컴터 메모리 부족한 경우
```typeAllocation failed - JavaScript heap out of memory```


```typeexport NODE_OPTIONS="--max-old-space-size=8192"export NODE_OPTIONS="--max-old-space-size=16384"node -e 'console.log(v8.getHeapStatistics().heap_size_limit/(1024*1024))'console.log(process.memoryUsage().rss / 1024 / 1024 + "MB")```


> [FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory in Ionic 3](https://stackoverflow.com/questions/53230823/fatal-error-ineffective-mark-compacts-near-heap-limit-allocation-failed-javas)

> [Node.js heap out of memory](https://stackoverflow.com/questions/38558989/node-js-heap-out-of-memory)





