ktsn / vue-template-loader

Vue.js 2.0 template loader for webpack
MIT License
266 stars 26 forks source link

Takes alot of RAM when using on windows #63

Open snake-py opened 2 years ago

snake-py commented 2 years ago

I am using this inside a quite big project. And it seems currently that this plugin is the fault that npm run serve is failing. It seems that it does work when I give the processes more than 25gb of swap space, hence it works properly on linux. Could there be any reason why?

The bundling always fails during importing a template, then I get JS heaps out of memory. I already tried several solutions. Like --max-old-space-size=4096 with evene 12gb

I have the feeling that somewhere is a memory leak.