Fork me on GitHub
#cider
<
2016-02-16
>
samedhi19:02:30

I am getting 100% cpu utilization when running cider, not sure really how to debug it. Everything seems to work, just high usage.

samedhi19:02:02

This is after running M-x cider-jack-in as I usually do.

samedhi19:02:26

M-x cider-version => CIDER 0.11.0snapshot (package: 20160216.208)

pbostrom19:02:25

@samedhi: if you are running locally with JDK8 you can use jmc/Flight Recorder to see where it's stuck

benedek19:02:58

@samedhi if u use clj-refactor too this is clj-refactor indexing your project after repl start up

samedhi19:02:25

Ahh, I do use clj-refactor.

benedek19:02:31

Which version of clj-refactor do u use (if any)?

benedek19:02:03

It should stop after a while tho after repl started up

samedhi19:02:59

Sorry, maybe I don’t.

{:user {:plugins [[cider/cider-nrepl "0.11.0-SNAPSHOT"]
                  [refactor-nrepl "2.2.0-SNAPSHOT"]
                  [com.jakemccrary/lein-test-refresh "0.11.0"]
                  [lein-autoexpect "1.7.0"]
                  [lein-ancient "0.6.8"]
                  [lein-localrepo "0.5.3"]]
        :dependencies [[org.clojure/tools.nrepl "0.2.12"]]}}

benedek19:02:33

You might be ;)

benedek19:02:31

can u paste what M-x cljr-version returns?

samedhi19:02:20

M-x cljr-version => clj-refactor 2.2.0-SNAPSHOT (package: 20160216.402), refactor-nrepl 2.2.0-SNAPSHOT

benedek19:02:37

That is cutting edge :)

samedhi19:02:14

Yeah, maybe not the best idea 😬

benedek19:02:20

It is doing useful stuff

samedhi19:02:32

Ok, I will just let it go.

benedek19:02:45

you can opt out but I don't recommend it

samedhi19:02:09

Yeah, no problem. I just feel guilty as it sounds like a airplane is taking off in the office. Haha.

benedek19:02:13

As some features will get really slow for the first run

samedhi19:02:14

Thank you.

benedek19:02:47

no worries :)

benedek20:02:19

If u set (cljr--debug-mode t) it will get chatty about what is it doing btw (just to explain the airplanes to the office ;))

samedhi21:02:21

@benedek Thanks, I just relied on appeal to authority. I also can report that it has finished indexing and everything is back to normal.

benedek21:02:55

haha thx ;)