increase-memory-limit icon indicating copy to clipboard operation
increase-memory-limit copied to clipboard

Increase memory limit for local node binaries ("max-old-space-size")

Results 12 increase-memory-limit issues
Sort by recently updated
recently updated
newest added

![image](https://user-images.githubusercontent.com/48358523/71230329-33054680-2324-11ea-942d-f0e6791c39b2.png) ![image](https://user-images.githubusercontent.com/48358523/71230373-58925000-2324-11ea-9db7-14b13a7f1d24.png)

it essentially works by setting max_old_space_size?

vue-cli项目 平台:mac node:10.14.2 ```bash "scripts": { "fix-memory-limit": "cross-env LIMIT=4096 increase-memory-limit", "serve": "vue-cli-service serve", } ``` ```bash $ npm run serve > [email protected] serve /Users/hfd/Documents/ms/gitlab/sc/fsweb/dev/ > vue-cli-service serve /Users/hfd/Documents/ms/gitlab/sc/fsweb/dev/node_modules/@vue/cli-service/bin/vue-cli-service.js:5 const requiredVersion...

5:31 PM Commit failed with error 0 files committed, 3 files failed to commit: something Error: Cannot find module 'please-upgrade-node --max-old-space-size=10240' 无法提交代码,得删除node_modules才可以。有什么办法解决吗?

The original method will also add '--max-old-space-size=4096' after packages such as lint-upgrade-node , which will cause the commit to fail.

Fixed an issue with the augment -memory-limit plug-in affecting the execution of vue-cli-services

"scripts": { "start": "egg-scripts start --daemon --title=egg-server-weds-node-edu", "stop": "egg-scripts stop --title=egg-server-weds-node-edu", "dev": "egg-bin dev -r egg-ts-helper/register", "debug": "egg-bin debug -r egg-ts-helper/register", "test-local": "egg-bin test -r egg-ts-helper/register", "test": "npm run lint...

Maybe 4gb is not enough. I want to change the --max_old_space_size through the terminal.