Groovy-Emacs-Modes / groovy-emacs-modes

A groovy major mode, grails minor mode, and a groovy inferior mode.
84 stars 39 forks source link

groovy-mode cpu usage #106

Closed tx46 closed 6 years ago

tx46 commented 6 years ago

for whatever reason, groovy-mode spins one core up to 100%

how to reproduce:

  1. start emacs
  2. install groovy-mode
  3. open a groovy-file or enable groovy-mode
  4. check cpu usage (there's a cmd.exe process maxing one core)
Wilfred commented 6 years ago

What process is running and maxing one core? Emacs itself, or something else?

tx46 commented 6 years ago

This happens when I open a .groovy-file with groovy-mode:

image

It's a cmd.exe process, started by Emacs.

Wilfred commented 6 years ago

I'm going to need more information to be able to debug this. What command is running under cmd.exe? I imagine you can see this with Windows tools, or M-x list-processes in Emacs might also be helpful.

tx46 commented 6 years ago

This is the output of list-processes:

image

If I disable flycheck-mode, the issues disappears. So maybe this is an issue with flycheck?

Wilfred commented 6 years ago

Yep, sounds like a flycheck issue. groovy-mode doesn't start any processes.