Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extension causes high cpu load #278

Closed
DenisYurkov opened this issue Feb 7, 2019 · 20 comments
Closed

Extension causes high cpu load #278

DenisYurkov opened this issue Feb 7, 2019 · 20 comments

Comments

@DenisYurkov
Copy link

  • 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

@adesugbaa
Copy link
Collaborator

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

@ritwickdey
Copy link
Owner

I think, it's because of #255

@ritwickdey
Copy link
Owner

ritwickdey commented Feb 12, 2019

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

@ritwickdey
Copy link
Owner

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

@DenisYurkov
Copy link
Author

Thanks helped!

@sinisabecic
Copy link

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.

@mrahdreegez
Copy link

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

@vikaspoonia
Copy link

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

@ar092018
Copy link

ar092018 commented Apr 9, 2019

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

@belachkar
Copy link

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

@claudioseccia
Copy link

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

@dan-farley
Copy link

dan-farley commented Jan 12, 2020

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?

@darkRaspberry
Copy link

#741
Also

@DEVANGYDV
Copy link

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

@dinotomassini
Copy link

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

@OmarVD-code
Copy link

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

@F-Olive
Copy link

F-Olive commented May 14, 2021

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?

@JoggerShyr
Copy link

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

@KorigamiK
Copy link

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

@ritwickdey ritwickdey unpinned this issue Feb 11, 2022
@lucasffpinho
Copy link

lucasffpinho commented Sep 12, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests