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

推荐订阅源

L
LangChain Blog
N
Netflix TechBlog - Medium
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
V
V2EX
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Blog — PlanetScale
Blog — PlanetScale
Microsoft Security Blog
Microsoft Security Blog
D
Docker
WordPress大学
WordPress大学
罗磊的独立博客
J
Java Code Geeks
博客园 - 【当耐特】
博客园 - 司徒正美
雷峰网
雷峰网
H
Help Net Security
酷 壳 – CoolShell
酷 壳 – CoolShell
Last Week in AI
Last Week in AI
宝玉的分享
宝玉的分享
Martin Fowler
Martin Fowler
T
Tailwind CSS Blog
Google DeepMind News
Google DeepMind News
M
MIT News - Artificial intelligence
Recent Announcements
Recent Announcements
B
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)    收藏  举报