This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-01-11
Channels
- # aws (3)
- # babashka (67)
- # beginners (284)
- # calva (19)
- # cider (12)
- # cljdoc (9)
- # clojure (111)
- # clojure-austin (4)
- # clojure-europe (34)
- # clojure-france (12)
- # clojure-greece (2)
- # clojure-nl (14)
- # clojure-taiwan (2)
- # clojure-uk (11)
- # clojurescript (34)
- # community-development (2)
- # conjure (8)
- # datomic (15)
- # events (3)
- # fulcro (12)
- # jobs (3)
- # leiningen (4)
- # malli (3)
- # meander (11)
- # mount (2)
- # off-topic (29)
- # pathom (11)
- # re-frame (31)
- # reagent (19)
- # remote-jobs (3)
- # reveal (8)
- # rewrite-clj (1)
- # sci (1)
- # shadow-cljs (8)
- # spacemacs (4)
- # sql (1)
- # startup-in-a-month (2)
- # tools-deps (2)
- # vim (7)
- # xtdb (6)
My cpu shoots to 103% whenever I execute clojure code in the repl that produces an error (the java nrepl process, that is). It's at 3% before any error occurs. Any idea on how to troubleshoot this? What directories does nrepl need access to?
@nick.romer What's your CIDER version?
nREPL doesn't really need access to anything, so I'm assuming that's not a permission issue, but we need more data to figure out what's going on.
I narrowed it down to datahike.api that is a require in my project. It has a lot of dependencies.
I have one of the latest cider versions. I use spacemacs dev branch. How can I check the cider version?
cider-nrepl-0.25.6
refactor is disabled and savehist is tiny.
Hmm, maybe you can attach some Java profiler to the project and see what's causing the CPU spike?
Hi Bozhidar, I was unable to find a profiler for my system (termux on Android = arm32 terminal). I uninstalled my jdk (adopt open 11) and replaced it with v14. The problem has gone away.
I've never done profiling. Can you suggest a profiler?
Ok. thanks!