Thread overview |
---|
September 13, 2019 serve-d and spindump | ||||
---|---|---|---|---|
| ||||
On my macOS 10.14.6 computer, I close serve-d thread when it's using too much CPU, I also knock off spindump for the same reason. I get artifacts and junk that flash on my screen - I don't know if that's connected to removing those or not. Does anyone else have these problems? I always have Visual Code running for D programming. I found an old solitary post[0] about it, or so. [0] Bug with profiling GC with multiple threads/fibers |
September 14, 2019 Re: serve-d and spindump | ||||
---|---|---|---|---|
| ||||
Posted in reply to Joel | On Friday, 13 September 2019 at 23:47:00 UTC, Joel wrote:
> On my macOS 10.14.6 computer, I close serve-d thread when it's using too much CPU, I also knock off spindump for the same reason. I get artifacts and junk that flash on my screen - I don't know if that's connected to removing those or not. Does anyone else have these problems? I always have Visual Code running for D programming.
>
> I found an old solitary post[0] about it, or so.
>
> [0] Bug with profiling GC with multiple threads/fibers
I had a similar issue with crazy CPU consumption when I used VS Code. The root cause for me was "autosave" and "build on save" settings turned on simultaneously. Basically, it was trying to build the entire project every time save happened, and it was frequent enough to overwhelm the CPU.
The fix was in: File=>Preferences=>Settings, Then extensions=>D:Enable Dub Linting, have to be disabled (unchecked).
Hopefully, this helps.
|
September 14, 2019 Re: serve-d and spindump | ||||
---|---|---|---|---|
| ||||
Posted in reply to psyscout | On Saturday, 14 September 2019 at 10:14:19 UTC, psyscout wrote:
> On Friday, 13 September 2019 at 23:47:00 UTC, Joel wrote:
>> [...]
>
> I had a similar issue with crazy CPU consumption when I used VS Code. The root cause for me was "autosave" and "build on save" settings turned on simultaneously. Basically, it was trying to build the entire project every time save happened, and it was frequent enough to overwhelm the CPU.
>
> The fix was in: File=>Preferences=>Settings, Then extensions=>D:Enable Dub Linting, have to be disabled (unchecked).
>
> Hopefully, this helps.
Thanks psyscout - I'm now trying that. On my machine, I used [command]+[,] to get to settings.
|
Copyright © 1999-2021 by the D Language Foundation