vite打包失败 - out of memory 在做项目时,随着需求的不断增加,我们的代码文件会越来越大,但是在打包时,在 Node 中通过 JavaScript 使用内存的大小却是有限制的。于是,今天打算部署代码时,报错了: <--- JS stacktrace ---> === JS stack trace === 0: ExitFrame [pc: 00007FF69790ABBD] Security cont...
451](this=0x037824a004b1,0x017863480119<Very long string[1502653]>)2:decodedSourcemap(aka decodedSourcemap)[000002AD02F8A979][E:\vite-template\node_modules_rollup@2.40.0@rollup\dist\shared\roll...FATAL ERROR:Ineffective mark-compacts near heap limit Allocation failed-JavaScript heapoutof memory...