惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

博客园 - Franky
D
Docker
Jina AI
Jina AI
The GitHub Blog
The GitHub Blog
博客园 - 聂微东
B
Blog RSS Feed
大猫的无限游戏
大猫的无限游戏
M
MIT News - Artificial intelligence
Vercel News
Vercel News
Microsoft Security Blog
Microsoft Security Blog
博客园 - 叶小钗
爱范儿
爱范儿
D
DataBreaches.Net
Hugging Face - Blog
Hugging Face - Blog
IT之家
IT之家
Recent Announcements
Recent Announcements
U
Unit 42
腾讯CDC
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
宝玉的分享
宝玉的分享
量子位
Stack Overflow Blog
Stack Overflow Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Microsoft Azure Blog
Microsoft Azure Blog

博客园 - googlegis

npm install 指定安装源 windows 下 CodeX 提示 Computer Use plugins unavailable 使用gzip压缩3dtiles Cesium 加载 3dtiles 优化方案 Bad owner or permissions on /var/lib/jenkins/.ssh/config docker 删除 容器和镜像 docker 下安装 gitlab EE docker 在 linux 下的安装及使用 npm/npx 指定源 根据经纬度获取地形数据高程 GeoServer加载shp文件后中文乱码 Cesium中glb模型颜色暗淡解决 mongod.service failed with result exit-code npm、pnpm系统禁止了脚本的执行 当前计算机配置不支持 wsl2--已解决 hexo 推送需要github的用户名 el-switch 初始化时触发切换 使用vim修改linux中的文件 在 wsl2 中安装redis wsl 安装 Module '"element-plus"' has no export memeber 'ElMessage'. Did you mean to user 'import ElMessage from "element-plus" CodeBlocks window下安装后找不到编译器 Error message "error:0308010C:digital envelope routines::unsupported"
CALL_AND_RETRY_LAST Allocation failed - JavaScript heap o...
googlegis · 2023-03-23 · via 博客园 - googlegis

网上查应该是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"

  },

posted @ 2023-03-23 13:40  googlegis  阅读(128)  评论(0)    收藏  举报