After I upgrade npm, an error report:
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed
0xb00d90 node::Abort() [hexo]
Solution: The cause is memory overflow
Increase memory
sudo npm i -g increase-memory-limit
increase-memory-limit
- Expand the memory for NODE operation
export NODE_OPTIONS=--max_old_space_size=4096
The value should not be too large, which may affect the server operation
Read More:
- [Solved] FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed – JavaScript heap out of me
- [Solved] NPM run build package error: Ineffective mark-compacts near heap limit Allocation failed – JavaScript heap out of memory
- [Solved] NPM Error: FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed
- [Solved] Build Error Ineffective mark-compacts near heap limit Allocation failed – JavaScript heap out of memory
- Node Memory Overflow: FATAL ERROR: Reached heap limit Allocation failed – JavaScript heap out of memory
- Solve Error: call_and_retry_last allocation failed – javascript heap out of memory
- How to Solve Hexo init error: bash: hexo: command not found
- Hexo Error: error: spawn failed [How to Solve]
- [Solved] kettle Error: GC overhead limit exceeded
- [Solved] “HttpSendRequest“ failed, Windows error code=12002 andretry limit (0) exceeded for URL
- Error occurred during initialization of VM Could not reserve enough space for 1572864KB object heap
- IDEA reports an error Could not reserve enough space for xxxxKB object heap processing
- [HBase Error]“java.lang.OutOfMemoryError: Requested array size exceeds VM limit”
- Template Render Error Solution (Hexo blog theme, GIT upload)
- HEXO D Command ERROR Deployer not found: git
- .Net Core 5.0 Upload File limit via Swagger Api report error: error: request entity too large [Three Methods]
- [Solved] Hadoop Mapreduce Error: GC overhead limit exceeded
- How to Solve DB2 uses Limit Error
- Hive Error: Error: GC overhead limit exceeded
- [Solved] Axios Error: Request body larger than maxBodyLength limit