CodeiumVisualStudio icon indicating copy to clipboard operation
CodeiumVisualStudio copied to clipboard

High CPU usage by language_server on Linux

Open ipg0 opened this issue 1 year ago • 4 comments

A process language_server from the Codeium VS Code extension is reported to be using up over 200% of CPU time (i7-11390H) on Linux (6.5.0-14-generic), even when just scrolling through the code.

Does not happen always, prevalently happens in one moderately sized Strapi + React + TypeScript project (which is private, and the codebase has been indexed by Codeium).

Turning off the "Toggle autocomplete for language" didn't help.

ipg0 avatar Jan 17 '24 21:01 ipg0

I've had to disable the extension because whenever Codieum is running, my CPU usage goes through the roof. It was fine for some time, but the last couple weeks I've had to restart until finally I just disabled the extension.

Also on Linux. My project is ~600K LoC excluding node_modules.

KerryRitter avatar Apr 25 '24 12:04 KerryRitter

Just to clarify—are you both using the Codeium VSCode extension or the Visual Studio extension?

You can try disabling search to see if that helps:

image

fortenforge avatar Apr 25 '24 19:04 fortenforge

Same behaviour on Windows with VS 2022 17.8.7. Codeium spans the language_server_windows64.exe which takes up to 50% of CPU all the time which almost freezes the host when working in multiple VS instances. Comparing to the GH Copilot it has very unstable (beta-like) state when generating the code as well. Uninstalled.

ruslan-mogilevskiy avatar Apr 26 '24 15:04 ruslan-mogilevskiy

Just to clarify—are you both using the Codeium VSCode extension or the Visual Studio extension?

You can try disabling search to see if that helps:

image

I will give this a shot when I have some availability. I am in VSCode.

Same behaviour on Windows with VS 2022 17.8.7. Codeium spans the language_server_windows64.exe which takes up to 50% of CPU all the time which almost freezes the host when working in multiple VS instances. Comparing to the GH Copilot it has very unstable (beta-like) state when generating the code as well. Uninstalled.

Let's all remember that Codeium is free for individuals and an affordable offering competing with one of the largest companies in the world. It doesn't cost us developers anything to be kind when we bring up issues and expectations.

KerryRitter avatar Apr 26 '24 15:04 KerryRitter