pranaygp / vscode-css-peek

A vscode extension for peeking at CSS definitions from a class or id tag in HTML
MIT License
146 stars 32 forks source link

Extension eats up all the cpu, memory and swap #41

Closed zurp closed 1 year ago

zurp commented 6 years ago

When opening a large project, this extension crashes multiple linux systems. First it eats up all the CPU, then the memory, then the swap.

kellielutze commented 6 years ago

I just updated to 2.1.0 today on my Ubuntu 18.04 machine and watched as it ate up my memory and swap within seconds ultimately rendering my system unresponsive.

In all fairness this was on a large project, however, before this update it didn't have any issues.

macwac commented 6 years ago

I have same problem when i update vs code to 1.28.2. Project is not big

arsari commented 5 years ago

Same problem in windows 10 with vs code v1.29. I have to disable the extension so my vs code doesn't crash. On vs code for mac doesn't happen this but I disable the extension for precaution.

Update: The extension start to do the same in my macOS. I'm using v2.2.0 with VS Code 1.30.1. Continue with the same issue in my Windows 10 with v2.2.0 and VS Code 1.30.1

pranaygp commented 4 years ago

Is this still an issue on the latest VSCode and CSS Peek (3.3.0+)?

guppy42 commented 2 years ago

Is this still an issue on the latest VSCode and CSS Peek (3.3.0+)?

Had to disable it today (v4.2.0) as it nearly took down a remote server, by spawning 10 processes that combined used 539,7% cpu and 51% memory.

clearly something isn't working as intended.

And yes it's a large codebase but intelephense can parse it just fine with out killing the server

pranaygp commented 1 year ago

This has been fixed in version v4.3.4