We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46dd855 commit 4023f8dCopy full SHA for 4023f8d
packages/@vue/cli-service/bin/vue-cli-service.js
@@ -1,4 +1,11 @@
1
-#!/usr/bin/env node
+#!/usr/bin/env node --max_old_space_size=4096
2
+
3
+/**
4
+ * --max_old_space_size to increase V8 default heap size.
5
+ * Temporary workaround for memory leaks in webpack and high memory usage
6
+ * from file watching & sourcemap generation.
7
+ * https://github.com/vuejs/vue-cli/issues/1453
8
+ */
9
10
const semver = require('semver')
11
const { error } = require('@vue/cli-shared-utils')
0 commit comments