I am currently working on a Vue.js project with a pretty large codebase. It is written on Vue 2. What I have noticed is that when I run it on development mode using vue-cli-service serve
, it uses >2GB of RAM. I have tried a few configs trying to improve this , such as:
configureWebpack: {
optimization: {
removeAvailableModules: false,
removeEmptyChunks: false,
splitChunks: false,
runtimeChunk: true,
},
output: {
pathinfo: false,
}
but it didn't change anything. It still uses >2GB of RAM. I also have disabled devtools: Vue.config.devtools = false
but still, without luck.
I need to find a way to reduce the RAM usage on development mode.