Groovy-Emacs-Modes / groovy-emacs-modes

A groovy major mode, grails minor mode, and a groovy inferior mode.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

groovy-mode cpu usage

tx46 opened this issue · comments

commented

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)

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

commented

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

image

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

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.

commented

This is the output of list-processes:

image

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

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