I'm trying to develop gotk4 based program (more than one, but to reproduce you can take https://github.com/psydvl/gotk4-template) When I have enabled LSP-gopls in Sublime Text (however, I think this issue related to any editor) I can say "Bye processor" almost immediately [image: Screenshot from 2022-07-16 17-09-59.png]
What EnvVar or option should I set to limit this usage? None of enabled options save me ``` json { "settings": { "gopls.codelenses": { "regenerate_cgo": false, }, "gopls.memoryMode": "DegradeClosed", }, } ``` Also, I've installed ccache ``` shell $ go env CC CXX ccache gcc ccache g++ ``` What I see in process list <details> ``` shell $ pstree -ap 14713 gopls,14713 ├─go,14808 list -modfile=/tmp/go.d22c701a0df71cda0521621e079241f476749455ea5da2de959cb1662c9cf564.2035559072.mod -mod=readonly -e -json -compiled=true -test=true -export=false ... │ ├─cgo,15065 -objdir /tmp/go-build3331219755/b079/ -importpath github.com/diamondburned/gotk4/pkg/gtk/v4 -- -I/usr/include/gtk-4.0 -I/usr/include/pango-1.0-I/u │ │ ├─ccache,19847 gcc -w -Wno-error -o/tmp/go-build3331219755/b079//_cgo_.o -gdwarf-2 -c -I/usr/include/gtk-4.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 ... │ │ │ └─gcc,19858 -w -gdwarf-2 -mfpmath=sse -msse -msse2 -pthread -O2 -Wno-deprecated-declarations -m64 -fno-lto -Wno-error -I/usr/include/gtk-4.0 -I/usr/include/pango-1.0 ... │ │ │ └─cc1,19859 -quiet -I /usr/include/gtk-4.0 -I /usr/include/pango-1.0 -I /usr/include/glib-2.0 -I /usr/lib64/glib-2.0/include -I /usr/include/harfbuzz -I/usr/inclu │ │ ├─{cgo},15066 │ │ ├─{cgo},15067 │ │ ├─{cgo},15068 │ │ ├─{cgo},15069 │ │ ├─{cgo},15087 │ │ └─{cgo},15385 │ ├─cgo,15071 -objdir /tmp/go-build3331219755/b084/ -importpath github.com/diamondburned/gotk4/pkg/gtk/v3 -- -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0-I/u │ │ ├─ccache,19852 gcc -w -Wno-error -o/tmp/go-build3331219755/b084//_cgo_.o -gdwarf-2 -c -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 ... │ │ ├─{cgo},15072 │ │ ├─{cgo},15073 │ │ ├─{cgo},15074 │ │ ├─{cgo},15075 │ │ ├─{cgo},15080 │ │ └─{cgo},15109 │ ├─{go},14811 │ ├─{go},14812 │ ├─{go},14813 │ ├─{go},14814 │ ├─{go},14815 │ ├─{go},14817 │ ├─{go},14822 │ ├─{go},14837 │ └─{go},14997 ├─{gopls},14717 ├─{gopls},14718 ├─{gopls},14719 ├─{gopls},14720 ├─{gopls},14721 ├─{gopls},14722 ├─{gopls},14723 ├─{gopls},14788 ├─{gopls},14804 └─{gopls},14838 ``` </details> -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/e3f985b0-4277-4657-a5ee-cf33d2b94dd4n%40googlegroups.com.