Open SongChao1123 opened 6 years ago
你的包大概有多大了?
打包后dist目录有8MB多 ,感觉并没有很大的
<--- Last few GCs --->
1333993 ms: Mark-sweep 685.4 (702.4) -> 684.0 (702.4) MB, 80.8 / 0.0 ms [allocation failure] [GC in old space requested]. 1334069 ms: Mark-sweep 684.0 (702.4) -> 683.9 (702.4) MB, 76.1 / 0.0 ms [allocation failure] [GC in old space requested]. 1334143 ms: Mark-sweep 683.9 (702.4) -> 685.7 (701.4) MB, 74.2 / 0.0 ms [last resort gc]. 1334219 ms: Mark-sweep 685.7 (701.4) -> 687.3 (701.4) MB, 75.8 / 0.0 ms [last resort gc].
<--- JS stacktrace --->
==== JS stack trace =========================================
Security context: 0C07B815
FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
npm ERR! code ELIFECYCLE
npm ERR! errno 3
npm ERR! vue2-webpack2-cli-vux2-multe-page@2.0.1 dev: node build/dev-server.js
npm ERR! Exit status 3
npm ERR!
npm ERR! Failed at the vue2-webpack2-cli-vux2-multe-page@2.0.1 dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\IGG\AppData\Roaming\npm-cache_logs\2018-03-26T01_43_28_787Z-debug.log
一直无解,查了很多资料 悲剧 , 求作者解答一下
项目越来越大了 ,在使用 npm run dev 的环境编译后会内存过大溢出的情况,本人更换了各种npm和网站的相关配置,但并无效果,求作者解答一下