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

100% CPU usage if DCD crashes regularly #343

Open
WebFreak001 opened this issue Sep 20, 2023 · 1 comment
Open

100% CPU usage if DCD crashes regularly #343

WebFreak001 opened this issue Sep 20, 2023 · 1 comment

Comments

@WebFreak001
Copy link
Member

from user report, presumably dcd-server crashes on startup or shortly after.

serve-d should recognize this and in the case of repeated failure, print a warning to the user prompting to continue only after a button press.

@dector
Copy link

dector commented Nov 15, 2024

Hi. I've decided to try D and having very unpleasant experience from the start. 😅

I'm using VSCode with installed webfreak.code-d v0.23.2 extension. It's downloading serve-d automatically but when serve-d in running - it's consuming too much memory and loading CPU extensively.

image

I have just basic hello-world file. If I'm not typing anything - CPU usage goes down after 4-5 seconds. But if I format the file - I see 100%+ CPU load again.

If I'm trying to call autocomplete - memory usage skyrocketing to 30G RAM + 12G swap and it's crashing my GNOME DE. 😄

How can I help to profile it to detect a bug? Thanks!

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

No branches or pull requests

2 participants