0

你们用 m1 开发前端项目有遇到过开发时内存溢出的情况吗?

 2 years ago
source link: https://www.v2ex.com/t/849443
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

V2EX  ›  程序员

你们用 m1 开发前端项目有遇到过开发时内存溢出的情况吗?

  magewu1223ll · 4 小时 4 分钟前 · 469 次点击
我最近经常遇到开发时因为内存溢出而 gc 了,4098 mb ,是 webpack 配置的问题吗?
6 条回复    2022-04-27 02:07:31 +08:00

461da73c

461da73c      4 小时 1 分钟前

Leviathann

Leviathann      3 小时 16 分钟前

memory leak ?
gc 是哪个 gc ,node 吗

LiuJiang

LiuJiang      3 小时 8 分钟前

webpack 配置有问题,优化下就好了

hamsterbase

hamsterbase      3 小时 0 分钟前 via iPhone

和 m1 没关系,试试看配置 node 的堆内存大小。

--max-old-space-size=SIZE

dblpx

dblpx      2 小时 42 分钟前

今天听人说 vscode 调试 c++ 的时候有内存泄露的问题,我觉得是 vscode 插件的锅

levelworm

levelworm      34 分钟前 via Android

公司搞了台 32GB 的机器,终于不用管这些了。。。

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK