umijs在Jenkins上npm run buid,FATAL ERROR: Ineffective mark-compacts near heap limit Allocation fail...
一、在Jenkins发版的是报FATALERROR:Ineffectivemark-compactsnearheaplimitAllocationfailed-JavaScriptheapoutofme一看是内存溢出,立马百度,找到一大堆,反正就是添加--max-old-space-size=8192内存,刚开始在package.json中添加发现在Jenkins打包还是报内存溢出,最后经过一个大