Vetur: High CPU and memory leak

Created on 9 Jun 2017  路  5Comments  路  Source: vuejs/vetur

  • Platform: macOS
  • Vetur version: 0.7.0
  • VSCode version: 1.13.0

I find this plugin caused the cpu and memory usage highly when update to vscode 1.13, if disable this plugin, the cpu and memory is normal

PID    COMMAND      %CPU      TIME     #TH   #WQ  #PORT MEM    PURG   CMPRS  PGRP  PPID  STATE    BOOSTS 
29226  Code Helper  97.1  00:25.06     9/1   1    59    1350M+ 0B     0B     28099 29179 running  *0[1]
need-more-info

Most helpful comment

Did you try this?

image

Also see https://github.com/octref/vetur/issues/216#issuecomment-305660816

All 5 comments

Did you try this?

image

Also see https://github.com/octref/vetur/issues/216#issuecomment-305660816

@octref There is no jsconfig.json or tsconfig.json in my project

Then make a jsconfig.json like

  {
    "include": [
      "./src/**/*"
    ]
  }

Only include files that's related to vue or your client side app.

@octref It's fine with jsconfig.json only include vue files, but It's still use memory highly when I include other js file. There is no problem in vs code 1.12 without jsconfig.json

I'm assuming this worked for you. If not feel free to reopen.

Was this page helpful?
0 / 5 - 0 ratings