This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-01-31
Channels
- # announcements (22)
- # asami (19)
- # aws-lambda (4)
- # babashka (42)
- # beginners (43)
- # calva (28)
- # cider (1)
- # clerk (79)
- # clj-kondo (12)
- # clojure (47)
- # clojure-berlin (1)
- # clojure-brasil (1)
- # clojure-dev (12)
- # clojure-europe (40)
- # clojure-nl (2)
- # clojure-norway (5)
- # clojure-uk (3)
- # clojurescript (56)
- # clr (12)
- # conjure (8)
- # cursive (4)
- # datomic (78)
- # dev-tooling (6)
- # exercism (1)
- # fulcro (9)
- # hoplon (3)
- # jobs (3)
- # jobs-discuss (4)
- # lambdaisland (3)
- # leiningen (1)
- # london-clojurians (1)
- # lsp (125)
- # malli (32)
- # matcher-combinators (3)
- # nrepl (1)
- # off-topic (6)
- # pathom (39)
- # re-frame (13)
- # releases (2)
- # remote-jobs (3)
- # sci (7)
- # shadow-cljs (117)
- # sql (6)
- # squint (7)
- # tools-build (15)
- # tools-deps (12)
Before I update to the latest Calva (running 2.0.326) , just asking if anyone has seen this kind of clojure-lsp behavior where it behaves in a funky way, .lsp/.cache/db.transit.json
is huuuge and clojure-lsp eats one full CPU and close to 9G of memory?
-rw-r--r-- 1 jmo jmo 1.5G Jan 31 00:03 db.transit.json
whoa
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
448457 jmo 20 0 24.2g 21.8g 0 S 4.0 69.9 13:03.63 clojure-lsp
🙈Yesterday, I downloaded from an external REST endpoint a large dataset and stored it in memory (`(def data ..)`) and that seemed to set clojure-lsp off...
#CPABC1H61 is the channel to figure such things out. Calva only really controls which clojure-lsp binary is spawned and what its project root will be.
You're welcome. Please check if there are reports in #CPABC1H61 or on the repo, and if not, consider reporting it somehow. Just asking about it in #CPABC1H61 is a good start.
And if you have that file still around, keep it a while. Maybe someone wants to know stuff about it.
I asked about it at #lsp 👍:skin-tone-2: https://clojurians.slack.com/archives/CPABC1H61/p1675155395313099
Hey there, I am trying to get a REPL connection without being prompted for the project kind (where I can select, deps.edn, a custom REPL sequence, etc.). I managed to not be prompted a second time, for the aliases that I want (via the custom REPL sequence), but I’d like to not be prompted at all. The documentation mentions it’s possible, but I couldn’t figure out how. Does anyone know how to achieve this?
If the documentation says it is possible, it is lying. 😃 We should probably add that feature, but as it is you need to select project type.
Please file an issue about it. You can link this issue, which is related: https://github.com/BetterThanTomorrow/calva/issues/1908
In the docs, it says > There are ways to tell Calva the answers to these prompts beforehand, so that Jack-in can be a zero-prompting command. Read on. (from https://calva.io/connect/#aliases-profiles-builds) That’s where I got the idea that it would be possible to configure to not prompt.