ritwickdey / vscode-live-server

Launch a development local Server with live reload feature for static & dynamic pages.

Home Page:https://ritwickdey.github.io/vscode-live-server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Extension causes high cpu load

DenisYurkov opened this issue · comments

  • Issue Type: Performance
  • Extension Name: LiveServer
  • Extension Version: 5.4.0
  • OS Version: Linux x64 4.15.0-45-generic
  • VSCode version: 1.31.0

⚠️ Make sure to attach this file from your home-directory: /home/denis-yurkov/ritwickdey.LiveServer-unresponsive.cpuprofile.txt ⚠️

Find more details here: https://github.com/Microsoft/vscode/wiki/Explain:-extension-causes-high-cpu-load

Please attach the ritwickdey.LiveServer-unresponsive.cpuprofile.txt file.

I think, it's because of #255

Please upgrade the extension to lastest version (I've updated it recently). If it doesn't work, please let me know

If you can share reproducible steps that would be even better.

Thanks helped!

No, I am gettin it only on GitHub. I dont know why. Make a new folder 'mvc_sajt' in 'htdocs' and state all files from downloaded file(folder) 'mvc-master' on it. Advice for u: Use the Xampp.

Hello Ritwick,
Updated VSCode to latest version and everything seems to be working fine, thanks!

It was fixed after updating to new VScode version and extension for me.

Hello,
I am also having this issue. can anyone help me to resolve?
I'm using VScode 1.33.0 and Live server 5.5.1 with MacOS

Hi,
The same issue with vs code
version 1.39.0
OS: win 10 x64
ritwickdey.LiveServer-unresponsive.cpuprofile.txt

Same issue, MacOs, latest VsCode (1.41.1) and Live Server 5.6.1 :(

In my situation it seems to be related to having the composer "vendor" folder for my project included in my workspace. Maybe it is having to watch all of those tens of thousands of files for file refreshes? Anyway I was able to select only my main web app folder and reduced my CPU usage from ~300% to 5%. Is there some way to exclude folders from the reload rules?

Issue Type: Performance
Extension Name: LiveServer
Extension Version: 5.6.1
OS Version: window_NT x64 10.0.19041
VSCode version: 1.48.2
ritwickdey.LiveServer-unresponsive.cpuprofile.txt

Hi,
Same error (
LiveServer v5.6.1
ritwickdey.LiveServer-unresponsive.cpuprofile.txt
)
but on arch linux and using vscode v1.53.2.
Downgrade the extension to 5.6.0 and works for me

Hi,
Same error (
LiveServer v5.6.1
ritwickdey.LiveServer-unresponsive.cpuprofile.txt
)
but on arch linux and using vscode v1.53.2.
Downgrade the extension to 5.6.0 and works for me

Hi
Same error
Live Server V5.6.1
"ritwickdey.LiveServer-unresponsive.cpuprofile.txt"
MacOS using VSCode v1.56.2

Downgraded extension to V5.6.0 and still same issue. Any ideas?

ritwickdey.LiveServer-unresponsive.cpuprofile.txt

Hi, here is my device information:
Processor Intel(R) Core(TM) i7-8700T CPU @ 2.40GHz 2.40 GHz
Installed RAM 32.0 GB (31.9 GB usable)
System type 64-bit operating system, x64-based processor

Edition Windows 10 Pro
Version 21H1
Installed on ‎6/‎20/‎2020
OS build 19043.1023
Serial number PC1JJ87P
Experience Windows Feature Experience Pack 120.2212.2020.0

ritwickdey.LiveServer-unresponsive.cpuprofile.txt

This is my device:
Host: Inspiron 11 - 3147
OS: MX x86_64
GPU: Intel Atom Processor Z36xxx/Z37xxx Series Graphics & Displ
CPU: Intel Pentium N3530 (4) @ 2.582GHz
Memory: 2849MiB / 3832MiB

Hello Ritwickdey,
I've been experiencing issues related to this one.
After launching the local server, CPU and Memory usage starts to rise until it crashes.
#2577