DisposaBoy / GoSublime

A Golang plugin collection for SublimeText 3, providing code completion and other IDE-like features.
MIT License
3.42k stars 302 forks source link

go process spinning on my machine #738

Closed cirel10 closed 5 years ago

cirel10 commented 7 years ago

I've observed a process consuming ~60% CPU for hours, at seemingly random times during the day. Haven't paid enough attention to know what exactly causes it, I figure y'all will know what specifically invokes this process and why it would take so long.

Today I noticed it upon launching Sublime for the first time. Other days I've only become aware by the sound of my laptop's fan, sometimes hours after I've stopped using Sublime.

I've attached a sample, although this is taken after only about a minute of it running. If I notice it later maybe I can get you a sample after it's been running for many minutes.

Also attached sublime_output.txt which I noticed got logged when I killed this process. Maybe not that useful since I killed it manually after only maybe a minute.

ps.txt sample.txt sublime_output.txt

feisan commented 7 years ago

Yes, I met the same problem.

If I open a golang project with some large packages (such as use github.com/coreos/etcd/clientv3 , google.golang.org/grpc and github.com/kataras/iris/iris at the same time), the GoSublime process would use ~65% CPU, and show some message like this:

GoSublime: GsFmt Blocking Call(fmt) timed out after 1.000 second(s). You might need to increase the ipc_timeout setting

I had tried to install GoSublime with the trunk from repo, it couldn't fix the problem.

idevz commented 7 years ago

any update for this?