网上查应该是node导致的内存溢出,64位电脑默认1.4G,32位电脑默认0.7G
在package.json 中的 Scripts 中添加 node 的参数
"scripts": {
"serve": "node --max_old_space_size=10240 node_modules/@vue/cli-service/bin/vue-cli-service.js serve",
"build": "vue-cli-service build --mode prod",
"test": "vue-cli-service build --mode test",
"lint": "vue-cli-service lint",
"start": "npm run serve"
},
- CALL_AND_RETRY_LAST Allocation JavaScript failed memorycall_and_retry_last allocation javascript failed allocation process项目failed javascript内存 项目memory call_and_retry_last allocation allocation resource eme 08 allocation内存dynamic动态 multi-objective game-theoretic allocation objective allocation lab5 lazy page elasticsearch allocation api cat